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:
- 1:5c7a96a6003b
- Parent:
- 0:6beb6f498640
diff -r 6beb6f498640 -r 5c7a96a6003b TextLCD.cpp --- a/TextLCD.cpp Mon Aug 09 14:17:02 2010 +0000 +++ b/TextLCD.cpp Wed Jun 05 11:09:14 2019 +0000 @@ -120,6 +120,8 @@ } void TextLCD::writeNibble(int data, bool rs) { + data<<=4; + data|=8; if (rs) { data = data | RS_ON; // set rs bit }