Shish

Dependencies:   mbed USBDevice GLCD

Revision:
3:2bf723da1732
Parent:
2:4b3d056967a8
Child:
4:fc3364c83df6
--- a/main.cpp	Thu May 06 22:32:36 2021 +0000
+++ b/main.cpp	Thu May 06 23:15:31 2021 +0000
@@ -313,17 +313,18 @@
                     GUI_Text(15+charPos, 20, (uint8_t *)"T", Black, White,1); //testing text on topbar
                     LCD_DrawLine(15+charPos, 35, 15+charPos+8, 35, Black); //cursor
                     charPos+=8;
-                    #else
-                    //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",static_cast<int>(drawnPoints[i][j]));
+                            serial.printf("%d",static_cast<int>(drawnPoints[j][i]));
                         }
                     }
                     
+                    #ifndef DEBUG
+                    clearPad(); //here the matix is also cleaned
+                    #endif
+                    
                     isWritten=0;
                     inferenceStarted=0;