- What this example do?
- How I must configure my ORbit16™ to work with this example?
- Where I can learn more about this?
- Download this example!
In this example we’ll learn how to use the OLED library. This library is used for interfacing the ORbit16™ with UG-2864 OLED display, based upon SSD1306 controller. Library and demo are the same for PIC24F and PIC32MX. Library works with both C30 and C32 compilers. Demo has 2 different projects: for PIC24FJ64GB002 and for PIC32MX250F128B. Main is the same, the selection of the compiler is made using #if defined (__C30__) and #if defined (__C32__).
Here is a video of the demo:
Connections are made by reading the oled.h file. In particular you must connect the display IOs as showed here (left: display IO, right: ORbit16™ IO):
- 3V3 to 3.3V
- GND to GND
- CS to GND (Chip select)
- RS to RA0 (Register Select, AKA Data/Command)
- RES to RA1 (Reset)
- D0/SCLK to RB0 (Serial Clock)
- D1/SDIN to RB1 (Serial Data In, AKA MOSI)
Please read the documents you’ll find in the OLED library page.OLED Demo (180 downloads)
Note: This example is made with the version 1.0 of the OLED library. Please refer to OLED library page for the latest version of the library.