Hauptprogramm

Dependencies:   ILI9340_Driver_Lib PM2_Libary Lib_DFPlayerMini

Revision:
29:91df2c5fb297
Parent:
27:bbcd157dcd63
Child:
30:39a53ed11b7d
--- a/main.cpp	Sun May 02 19:51:55 2021 +0000
+++ b/main.cpp	Wed May 05 15:25:02 2021 +0000
@@ -30,7 +30,7 @@
 };
 
  
-I2CPreInit gI2C(PB_9, PB_8);
+//I2CPreInit gI2C(PB_9, PB_8);
 //Adafruit_7segment clockDisplay = Adafruit_7segment();
 //clockDisplay.begin(DISPLAY_ADDRESS);
 //bool blinkColon = false;
@@ -40,8 +40,8 @@
 InterruptIn    user_button(USER_BUTTON);
 DigitalOut  led(LED1);
 
-BufferedSerial pc(SERIAL_TX, SERIAL_RX);
-I2C i2c(PB_9, PB_8);     // i2c1 pins
+//BufferedSerial pc(SERIAL_TX, SERIAL_RX);
+//I2C i2c(PB_9, PB_8);     // i2c1 pins
 
 bool  executeMainTask = false;
 Timer user_button_timer, loop_timer;
@@ -69,7 +69,7 @@
         loop_timer.reset();
  
         if (executeMainTask) {
-             getResults();
+             
             //Zeitfunktion
             uhrzeit(time(NULL));