feat: started game design

This commit is contained in:
2021-12-10 17:15:22 +01:00
parent 94017d771c
commit 7e73a3fbd4
18 changed files with 351 additions and 146 deletions

View File

@@ -1,5 +1,4 @@
#include <Arduino.h>
#include "SerialDebug.h"
#include "power.h"
#include "storage.h"
@@ -17,7 +16,7 @@ void setup()
initPower();
Serial.begin(115200);
Serial.setDebugOutput(true);
Serial.println("muziekdoos v2");
log_i("muziekdoos v2");
Serial.flush();
delay(1000);
@@ -34,13 +33,12 @@ void setup()
void loop()
{
looptime = millis();
debugHandle();
handleAudio();
//handleRfid();
handleRfid();
handleSensor();
//handleGame();
handleGame();
handlePower();
//handleOta();
log_i("main: looptime = %d", millis() - looptime);
log_v("main: looptime = %d", millis() - looptime);
}