upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Data Structures | Variables

I2C LCD Display library. More...

Data Structures

class  Jhd1313m1
 API for the JHD1313M1 I2C controller for HD44780-based displays with an RGB backlight, such as a Grove RGB I2C LCD display. More...
 
class  Lcm1602
 API for the LCM1602 I2C controller for HD44780-based displays. More...
 
class  SAINSMARTKS
 API for Sainsmart LCD Keypad Shield. More...
 
class  SSD1306
 API for SSD1306 I2C-controlled OLED displays. More...
 
class  SSD1308
 API for SSD1308 I2C-controlled OLED displays. More...
 
class  SSD1327
 API for SSD1327 I2C-controlled OLED displays. More...
 

Variables

const uint8_t COLOR_WHITE = 0x01
 API for EBOLED spi controlled OLED display. More...
 

Detailed Description

Variable Documentation

const uint8_t COLOR_WHITE = 0x01

The EBOLED is an ssd1306 with some modifications to work as an Edison Block. It is a 64x48 pixel OLED display that connects directly to an edison via it's 80-pin connector. Edison Blocks are stackable modules created by Sparkfun.

This block has some buttons on it that can be accessed using standard GPIO – this driver only concerns itself with the display.

// Instantiate an Edison Block OLED using default values
upm::EBOLED *lcd = new upm::EBOLED();
lcd->clear();
lcd->setCursor(10, 15);
lcd->write("Hello");
lcd->setCursor(30, 15);
lcd->write("World!");
lcd->refresh();
cout << "Sleeping for 5 seconds..." << endl;
sleep(5);
delete lcd;
Collaboration diagram for libupm-i2clcd: