Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: TextLCD.cpp
- Revision:
- 9:0893d986e717
- Parent:
- 8:03116f75b66e
- Child:
- 10:dd9b3a696acd
diff -r 03116f75b66e -r 0893d986e717 TextLCD.cpp
--- 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: