Shish
Dependencies: mbed USBDevice GLCD
Diff: main.cpp
- Revision:
- 2:4b3d056967a8
- Parent:
- 1:a32ccf18194d
- Child:
- 3:2bf723da1732
--- a/main.cpp Thu May 06 21:32:23 2021 +0000 +++ b/main.cpp Thu May 06 22:32:36 2021 +0000 @@ -6,7 +6,7 @@ #include "USBSerial.h" #include "TouchPanel.h" -//#define DEBUG +#define DEBUG //FUNZIONI GIORGIO void readtouch(); @@ -314,12 +314,15 @@ LCD_DrawLine(15+charPos, 35, 15+charPos+8, 35, Black); //cursor charPos+=8; #else - clearPad(); //here the matix is also cleaned + //clearPad(); //here the matix is also cleaned + #endif + serial.printf("%d", 450); serial.printf("-1"); - for(i=0;i<28;i++) - for(j=0;j<28;j++) - serial.printf("%d",drawnPoints[i][j]); - #endif + for(i=0;i<28;i++) { + for(j=0;j<28;j++) { + serial.printf("%d",static_cast<int>(drawnPoints[i][j])); + } + } isWritten=0; inferenceStarted=0;