AND
/
LCDTEST
lcd test
Diff: main.cpp
- Revision:
- 0:58c95c1c6b62
diff -r 000000000000 -r 58c95c1c6b62 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri May 10 15:08:51 2019 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(PC_8,PC_7,PC_6,PB_15,PB_14,PB_13,PB_12, TextLCD::LCD16x2); + +int main() { + lcd.cls(); + wait(0.001); + lcd.printf("Row 1!"); + lcd.locate(0,1); + lcd.printf("Row 2!"); +} \ No newline at end of file