mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
Update IO_HALDisplay.h
Update comments.
This commit is contained in:
parent
ef85d5eaba
commit
c52b4a60a5
|
@ -28,16 +28,23 @@
|
||||||
* line of the screen.
|
* line of the screen.
|
||||||
*
|
*
|
||||||
* To install, use the following command in myHal.cpp:
|
* To install, use the following command in myHal.cpp:
|
||||||
|
*
|
||||||
* HALDisplay::create(address, width, height);
|
* HALDisplay<OLED>::create(address, width, height);
|
||||||
*
|
*
|
||||||
* where address is the I2C address (0x3c or 0x3d),
|
* where address is the I2C address of the OLED display (0x3c or 0x3d),
|
||||||
* width is the width in pixels of the display, and
|
* width is the width in pixels, and height is the height in pixels.
|
||||||
* height is the height in pixels of the display.
|
|
||||||
*
|
*
|
||||||
* Valid width and height are 128x32 (SSD1306 controller),
|
* Valid width and height are 128x32 (SSD1306 controller),
|
||||||
* 128x64 (SSD1306) and 132x64 (SH1106). The driver uses
|
* 128x64 (SSD1306) and 132x64 (SH1106). The driver uses
|
||||||
* a 5x7 character set in a 6x8 pixel cell.
|
* a 5x7 character set in a 6x8 pixel cell.
|
||||||
|
*
|
||||||
|
* OR
|
||||||
|
*
|
||||||
|
* HALDisplay<LiquidCrystal>::create(address, width, height);
|
||||||
|
*
|
||||||
|
* where address is the I2C address of the LCD display (0x27 typically),
|
||||||
|
* width is the width in characters (16 or 20 typically),
|
||||||
|
* and height is the height in characters (2 or 4 typically).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user