Clone of the "Keyboard" project combined with string>LCD calls and Serial reading for the STM32F746G-DISCO. Screen has to be reset and the font set again, and Serial must be created and destroyed each time, to dodge apparent F7 lower-level issues. Keyboard can print prompt.
Dependencies: BSP_DISCO_F746NG mbed
Fork of Keyboard by
Diff: main.cpp
- Revision:
- 7:3d2369ac93a7
- Parent:
- 6:310e91584386
diff -r 310e91584386 -r 3d2369ac93a7 main.cpp --- a/main.cpp Wed Feb 22 15:17:55 2017 +0000 +++ b/main.cpp Wed Feb 22 15:25:12 2017 +0000 @@ -273,7 +273,6 @@ sbuf[40] = '\0'; // just for test .... truncate the line BSP_LCD_DisplayStringAtLine((11), (uint8_t *)sbuf); - // char *get_csv_itm(char *inbufloc, char *rcvr_str); csvp = sbuf; csvp = get_csv_itm(csvp, bstr); bi = atoi(bstr); csvp = get_csv_itm(csvp, cstr); ci = atoi(cstr); @@ -282,7 +281,6 @@ sprintf(out_str2, "b>%d c>%d e>%d Pb> %s ", bi, ci, ei, pbstr); BSP_LCD_DisplayStringAtLine((12), (uint8_t *)out_str2); - } wait(2.0); }