
Demo of using the LCD of the application board
Fork of app-board-LCD by
lcd.cpp
- Committer:
- faif
- Date:
- 2017-03-04
- Revision:
- 4:69913788ef01
File content as of revision 4:69913788ef01:
#include "mbed.h" #include "C12832.h" C12832 lcd(p5, p7, p6, p8, p11); static const float delay = 1; int main() { int counter = 0; lcd.cls(); lcd.printf("hello world!"); while (true) { lcd.locate(0, 15); lcd.printf("counter is: %d", ++counter); wait(delay); } }