mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
docs: minor doc, image and example fixes for some lcds
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
7d64e5458f
commit
5324808e82
@ -45,6 +45,14 @@
|
|||||||
|
|
||||||
namespace upm
|
namespace upm
|
||||||
{
|
{
|
||||||
|
const uint8_t COLOR_WHITE = 0x01;
|
||||||
|
const uint8_t COLOR_BLACK = 0x00;
|
||||||
|
const uint8_t COLOR_XOR = 0x02;
|
||||||
|
const uint8_t OLED_WIDTH = 0x40; // 64 pixels
|
||||||
|
const uint8_t VERT_COLUMNS = 0x20; // half width for hi/lo 16bit writes.
|
||||||
|
const uint8_t OLED_HEIGHT = 0x30; // 48 pixels
|
||||||
|
const int BUFFER_SIZE = 192;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library i2clcd
|
* @library i2clcd
|
||||||
* @sensor eboled
|
* @sensor eboled
|
||||||
@ -73,15 +81,6 @@ namespace upm
|
|||||||
*
|
*
|
||||||
* @snippet eboled.cxx Interesting
|
* @snippet eboled.cxx Interesting
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const uint8_t COLOR_WHITE = 0x01;
|
|
||||||
const uint8_t COLOR_BLACK = 0x00;
|
|
||||||
const uint8_t COLOR_XOR = 0x02;
|
|
||||||
const uint8_t OLED_WIDTH = 0x40; // 64 pixels
|
|
||||||
const uint8_t VERT_COLUMNS = 0x20; // half width for hi/lo 16bit writes.
|
|
||||||
const uint8_t OLED_HEIGHT = 0x30; // 48 pixels
|
|
||||||
const int BUFFER_SIZE = 192;
|
|
||||||
|
|
||||||
class EBOLED : public LCD
|
class EBOLED : public LCD
|
||||||
{
|
{
|
||||||
// SSD commands
|
// SSD commands
|
||||||
|
@ -62,7 +62,10 @@ namespace upm
|
|||||||
* an I2C expander/backpack.
|
* an I2C expander/backpack.
|
||||||
*
|
*
|
||||||
* @image html lcm1602.jpeg
|
* @image html lcm1602.jpeg
|
||||||
* @snippet lcm1602-lcd.cxx Interesting
|
* Example for LCM1602 displays that use the I2C bus
|
||||||
|
* @snippet lcm1602-i2c.cxx Interesting
|
||||||
|
* Code sample for GPIO based LCM1602 displays
|
||||||
|
* @snippet lcm1602-parallel.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class Lcm1602 : public LCD
|
class Lcm1602 : public LCD
|
||||||
{
|
{
|
||||||
|
@ -47,7 +47,7 @@ namespace upm
|
|||||||
* controller. This driver should also be compatible with the similar LCD
|
* controller. This driver should also be compatible with the similar LCD
|
||||||
* keypad shields from DFRobot and Sparkfun.
|
* keypad shields from DFRobot and Sparkfun.
|
||||||
*
|
*
|
||||||
* @image keypadlcd.jpg
|
* @image html keypadlcd.jpg
|
||||||
* @snippet sainsmartks.cxx Interesting
|
* @snippet sainsmartks.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class SAINSMARTKS : public Lcm1602
|
class SAINSMARTKS : public Lcm1602
|
||||||
|
Loading…
x
Reference in New Issue
Block a user