Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 9951|Reply: 6

oled ssd1306 I2C OK --- U8glib OK

[Copy link]

12

Threads

30

Posts

150

Credits

Registered member

Rank: 2

Credits
150
Post time 2016-1-1 15:51:58 | Show all posts |Read mode
these little oled display have a two-wire (SDA-SCL) interface (pa11 and pa12 on orange pi PC)
I used the loboris kernel which has I2C support compiled into it (no need to adapt script.bin)

I came across this link - it is the u8-library for the arduino, which can be patched for the raspberry pi.
I works out of the box for the orange pi PC (install the wiringOP library)

I modified the example (logo) so it can display text and does not stay in a loop.


https://code.google.com/p/u8glib/issues/detail?id=171
Make sure you've got wiringPi (wiringOP) installed.

$ wget http://dl.bintray.com/olikraus/u8glib/u8glib_arduino_v1.16.zip
$ unzip u8glib_arduino_v1.16.zip
$ cd U8glib
$ patch -p1 < /tmp/u8glib_1.16.RaspberryPi.patch
$ make

I installed the library
$ cp libU8glib.a /usr/lib
$ cp U8blib.h /usr/include

I used this setting in my example program - which can be adapted to other displays
-> U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE);

I could not attach my zip, so here's my example program and Makefile:

int main(void) {
char apa[10]="Orange ";
char apb[10]="Pi PC ";
printf("begin console\r\n");
u8g.setFont(u8g_font_gdr25r);
//u8g.setFont(u8g_font_6x13);
//  while(true) {
    u8g.firstPage();
    do {
//      draw();
    u8g.setColorIndex(1);
u8g.drawStr(1, 25, apa);
u8g.drawStr(1, 64, apb);
    } while( u8g.nextPage() );

  //  usleep(10*1000);
// }
  return 0;
}

--Makefile---
PROGRAMS = console
SOURCES = ${PROGRAMS:=.cpp}

CC=g++
INCLUDE=/opt/include
LIBRARY=/usr/lib
LIBS=-lwiringPi -lU8glib

PREPROCESSOR=-DU8G_RASPBERRY_PI
CCFLAGS=-Ofast -mfpu=vfp

all: ${PROGRAMS}

${PROGRAMS}: ${SOURCES}
        ${CC} ${PREPROCESSOR} ${CCFLAGS} -Wall -I${INCLUDE} -L${LIBRARY} $@.cpp -o $@ ${LIBS}

clean:
        rm $(PROGRAMS)






7

Threads

81

Posts

317

Credits

Intermediate member

Rank: 3Rank: 3

Credits
317
Post time 2016-2-9 06:11:01 | Show all posts
@snowbody

Thank you for the information. I have successfully used ssd1306 oleds in Arduino projects and am anxious to try them out on
the OPI ONEs I just ordered ( hoping the Chinese New Year will fade off in a foreseeable future ). The cheap and low power
ssd1306 oleds are great for visual feedback in battery-driven setups.

Have a nice day and keep up the good work.



Post time 2021-11-6 03:21:27 | Show all posts

Recommended Stock Market Tips

For the guy talking about market analysis tools for procurement, market analysis definition pdf, telecommunications industry trends 2021 pdf, what are the new trends in business,  I highly recommend this updated stock market advice info as well as current labor market trends 2021, commercial real estate market analysis example, market research report template free, what are the new trends in recruitment,  look at this updated stock market tips blog alongside all automotive industry trends 2021 pdf, market trends business definition, hvac market trends and analysis, market analysis meaning in tagalog,  try this high rated stock market advice tips for stock trading analysis software free, market research report template excel, current financial market trends 2021, market analysis software free download,  Also don't forget this top rated stock market info info not to mention how trends affect business, market basket analysis definition, stock market analyst jobs in dubai, market analysis example,  look at this useful stock market analysis info for indian share market analysis software free download, market research analyst jobs for freshers, share market analysis software,  on top of this top stock market advice info and don't forget share market analysis software free download, new market analysis framework, what will the stock market be in 2030, market trends meaning,  look at this high rated stock market news info alongside all innova market insights food trends 2022, market trends meaning in business, market trends business plan, indian share market analysis software free download,  try this updated stock market news advice for what are key market trends, market trends data analytics, market trends influence on business, automotive market trends 2022,  Also don't forget this top stock market tips tips on top of how to do market opportunity analysis, market research report ppt template, what are the current labor market trends, uk housing market trends 2021,  look at this cool stock market advice site for how to market a brand new business, current fashion industry trends 2021, property market analysis jobs, See More High Rated Stock Market Trends 48_8b54
Post time 2021-11-15 08:49:25 | Show all posts

Recommended Dog Separation Anxiety Tips

To the people inquiring about dog anxiety wrap t-shirt, do dog calming beds really work, do dog calming plug ins work, best pet calming plug in,  I highly suggest this awesome dog separation anxiety info on top of dog car anxiety treatment, is vomiting a sign of anxiety in dogs, can you give dogs anti anxiety medication, dog anxiety medicine over the counter, best anti anxiety beds for dogs, what kind of meds can you give a dog for anxiety, dog separation anxiety medication uk, why is my dog shaking anxiety,  look at this updated dog separation anxiety blog on top of best non prescription dog anxiety medication, dog anxiety meds natural, how to stop anxiety panting in dogs, dog anxiety symptoms licking, can anxiety in a dog cause diarrhea, can you fix dog separation anxiety, do stress vests for dogs work, dog separation anxiety treatment medication,  try this top dog separation anxiety tips for what is the best product for dog anxiety, is there medication for anxiety in dogs, dog anxiety wrap t-shirt, do dog pheromone plug ins work, can you give dogs anti anxiety medication, dog separation anxiety symptoms diarrhea, how to put on dog anxiety wrap, does the thundershirt work for dog anxiety, See More Great Dog Separation Anxiety Tips 2a6ce6c
Post time 2021-11-30 13:45:24 | Show all posts

Best Order Picking Robot Tips

What are the major benefits of Autonomous Mobile Robots?

1. Greater Flexibility
Autonomous Mobile Robots have a flexible, agile automation due to their dependence on cameras as well as onboard sensors. Autonomous Mobile Robots can create their own pathways between Point A to Point B in an area. This lets them bypass obstacles instead of following pre-determined routes. Autonomous Mobile Robots can also be used to accomplish new tasks more quickly than other automation technologies, which often require more work and time to change the programming. Check out this Internal transport robot info for more.

2. Increased Security
Autonomous Mobile Robots are stuffed with sensors and cameras. These cameras let Autonomous Mobile Robots interpret and understand their surroundings. Autonomous Mobile Robots are able to move effectively in a space without colliding with objects, people or the infrastructure. Contrary to this, equipment operated by human operators, such as forklifts, do not have as many built-in safety mechanisms and ultimately depend on input from humans. While a human operator has the potential to become exhausted or distracted, which can lead to an accident These are not a concern when working with Autonomous Mobile Robots. Autonomous Mobile Robots are utilized for repeated tasks, which decreases the chance of human error, and significantly increases safety.

3. Rapid Implementation
Autonomous Mobile Robots can be implemented within an operation in about four to six weeks according to the requirements of the project. The most important aspect here is picking the software and warehouse execution software that the units need to be integrated with. Even at the highest end this is not a long time particularly when compared with other technologies. It could take upto a year for a goods-to person (G2P), system to fully operational.

4. Scalability
Autonomous Mobile Robots are simple to work with in a factory. They are able to utilize modular deployment strategies, which allows you to begin with just one or two units and then expand the capacity of your operation as it grow or your needs evolve. Start with a small amount and expand your fleet in stages. This will save you a significant amount of money in the beginning. You can save capital by deploying in a modular manner, which means you can pursue other projects while you evaluate the effects of Autonomous Mobile Robots and determine the next steps.

5. It is simple to transfer between facilities
Certain businesses might not be prepared to explore automation options if they realize that a move into an entirely new facility is coming up. This logic makes sense. A new system may not be needed for two years, so why should you implement it? Autonomous Mobile Robots can be utilized to bridge this gap in these scenarios. Autonomous Mobile Robots can be deployed quickly and easily between facilities, that allows for automation for the short-term. Companies that plan to operate in the short-term can benefit from Autonomous Mobile Robots.
Post time 2021-12-7 17:13:32 | Show all posts

Best Daftar Aosbobet Online Link

Menanggapi orang bertanya tentang judo sloth clan games, nama nama situs judi slot online deposit pulsa tanpa potongan, link slot pulsa 303,  Saya sangat merekomendasikan ini terbaik aosbobet judi online situs or judi slot online deposit pulsa 10 ribu, situs judi slot online terbaik dan terpercaya, situs judi slot online resmi terpercaya, link slot gacor juli 2021, slot online pulsa xl, belum lagi ini luar biasa poker aosbobet online situs bersama semua ini link slot gacor juli 2021, slot online deposit pulsa 303, nama nama situs judi slot online deposit pulsa tanpa potongan, situs judi slot gampang menang, situs judi resmi terpercaya, belum lagi ini lihat aosbobet judi online domain which is also great. Also have a look at this luar biasa aosbobet online terpercaya toko bersama semua ini slot via pulsa tanpa potongan terpercaya, situs slot gacor deposit pulsa, situs judi poker online24jam terpercaya 2020, slot via pulsa indosat tanpa potongan, situs slot gacor terpercaya, dan juga ini luar biasa aosbobet judi online blog bersama semua ini daftar situs judi slot online terpercaya deposit pulsa, bandar judi slot online deposit pulsa tanpa potongan, jam gacor main slot pragmatic, slot pulsa tanpa potongan, info situs slot gacor hari ini, di atas ini luar biasa aosbobet online url yang juga layak untuk dilihat. Saya juga merekomendasikan ini baru poker aosbobet online toko di atas ini situs judi resmi, situs slot online, situs slot online terbaik dan terpercaya deposit pulsa tanpa potongan, slot gacor terbaru, slot online deposit via pulsa tanpa potongan, dan juga ini terbaik aosbobet online link di atas ini slot gacor terpercaya 2021, situs judi bola resmi di indonesia, situs judi slot deposit pulsa tanpa potongan terbaru, situs judi bola liga365, situs slot online terbaik indonesia, belum lagi ini peringkat tertinggi daftar aosbobet online toko yang juga hebat. Akhirnya, lihat ini peringkat teratas situs aosbobet online halaman and game slot deposit pulsa indosat, situs slot pulsa indosat, situs slot pulsa tanpa potongan 2020,  untuk memastikan ekstra. Lihat lainnya Awesome Workwear Embroidery Tips a467c50
Post time The day before yesterday 02:43 | Show all posts

Top Business Trip Massage Url

출장마사지
Business trip massage can help to promote relaxation during trips. It is often referred to as"business massage" or "business massage". It's a fantastic method to reenergize and replenish your body and mind following physical stress, jetlag, or fatigue. Additionally, a massage can aid in getting more sleep in the evening. These are just some of the many benefits that massages for business can provide. You must consider this procedure during your trip. A business trip massage is an excellent option to unwind and get your thoughts back in the right direction when you are on a business trip. It will help ease tension and back pain that is chronic. The service is provided by numerous massage parlors and spas, so make certain to look them up! A relaxing massage lasting 15-20 minutes can be a wonderful method to relax after a long trip. Massages for the entire body are the perfect gift for business travellers. The benefits of a massage for business will be noticeable for both your colleagues and you. No matter whether you are a frequent or casual traveler, getting a massage is a great way to keep your mind on long flights. Massages can prevent chronic back pain and keep you from having a miserable travel experience due to back pain. Swedish massages and deep-tissue massages and aromatherapy are the most sought-after massages for travelers. If you're in a tight budget, a chair massage could be the best choice. Have a look at this 출장안마 for more.

The Benefits Of Business Trip Massage
Business travelers can avail of a massage during the course of a business travel. Massages can help improve your mental clarity and help you recover faster from long travel. Even better massages can help prevent the recurring back pain. The most popular types of massages for business travelers are deep tissue massages, Swedish massages, and aromatherapy. For a quick fix for a quick fix, a massage in a chair lasting 15 to 20 minutes is an ideal choice.  Business travelers must take advantage of massages on the course of a business trip. One method to keep your mind focused and avoid back issues is to get an appointment for a massage on your trip. A massage for business trips can be as simple as a 15-minute massage in a chair or a full body Swedish massage. Choose the appropriate massage for your business trip to make your travel more relaxing or stress-free. You'll be more productive and less stressed when you've got a great massage.  Massages can help you stay focused on your business travels. A massage can help prevent back pain. Massages can help you to recuperate from long flights. Massages can also help prevent the development of chronic back discomfort. Massages are offered to travellers. There are Swedish or deep tissue massages, along with aromatherapy and deep-tissue massages. A chair massage is a great option for anyone which makes it a simple and easy fix. If you're traveling for business it is also possible.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2022-1-27 17:15 GMT+8 , Processed in 0.036016 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list