Sfoglia il codice sorgente

Test draw pixel, draw line.

Vladimir N. Shilov 1 anno fa
parent
commit
be3ea9ce60
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      main.c

+ 5 - 0
main.c

@@ -89,6 +89,11 @@ int main(void) {
    * LCD
    */
   ST7735_Init();
+  // draw tests
+  ST7735_FillScreen(Black);
+  ST7735_DrawPixel(10, 10, Silver);
+  ST7735_FillRectangle(5, 63, 150, 1);
+  ST7735_FillRectangle(159, 5, 1, 117);
 
   /*
    * Normal main() thread activity.