HD44780 and compatible Text LCD controllers for Mbed OS 6. Fork of https://os.mbed.com/components/HD44780/
TextLCD for Mbed OS 6
A lightly modified fork of https://os.mbed.com/components/HD44780/ to support Mbed OS 6 and C++11. See the upstream project for documentation.
Diff: TextLCD.cpp
- Revision:
- 9:0893d986e717
- Parent:
- 8:03116f75b66e
- Child:
- 10:dd9b3a696acd
--- a/TextLCD.cpp Tue Jan 29 20:49:33 2013 +0000 +++ b/TextLCD.cpp Thu Jan 31 19:46:00 2013 +0000 @@ -192,6 +192,7 @@ case LCD16x2: case LCD20x2: case LCD24x2: + case LCD40x2: return 0x00 + (row * 0x40) + column; // Should never get here. @@ -229,6 +230,9 @@ case LCD24x2: return 24; + + case LCD40x2: + return 40; // Should never get here. default: @@ -246,6 +250,7 @@ case LCD16x2B: case LCD20x2: case LCD24x2: + case LCD40x2: return 2; case LCD16x4: