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.
Dependents: aqm1602 FCAS-M101V1
Revision 4:43f874a2b8e9, committed 2016-09-05
- Comitter:
- AkinoriHashimoto
- Date:
- Mon Sep 05 06:27:05 2016 +0000
- Parent:
- 3:4a1be7924c30
- Commit message:
- Adj. CR, LF
Changed in this revision
AQM1602.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4a1be7924c30 -r 43f874a2b8e9 AQM1602.cpp --- a/AQM1602.cpp Wed Aug 31 01:49:19 2016 +0000 +++ b/AQM1602.cpp Mon Sep 05 06:27:05 2016 +0000 @@ -161,6 +161,14 @@ void AQM1602::cr() { + col = 0; + locate(col, row); + return; + +} + +void AQM1602::lf() +{ row++; row &= 1; int _col= col; @@ -174,13 +182,6 @@ return; } -void AQM1602::lf() -{ - col = 0; - locate(col, row); - return; -} - void AQM1602::setDispFlag(bool disp, bool cursor, bool blink) { // set On/Off. b3=1, b2:Disp, b1:Cursor, b0:blink.