st7735s: signs of life
[cortex-from-scratch] / main.c
diff --git a/main.c b/main.c
index 2526963..8de2880 100644 (file)
--- a/main.c
+++ b/main.c
@@ -26,7 +26,8 @@
 //#include <drivers/tm1637.h>
 //#include <drivers/at24c.h>
 //#include <drivers/tsensor.h>
-#include <drivers/mk450_joystick.h>
+//#include <drivers/mk450_joystick.h>
+#include <drivers/st7735s.h>
 
 void main()
 {
@@ -76,7 +77,10 @@ void main()
        printf("Current temperature: %d °C\n", temp); */
 
        /* ADC Joystick module */
-       mk450_init();   
+       // mk450_init();        
+
+       /* TFT screen */
+       tft_init();
 
        /* Start up terminal */
        terminal();