Fixed some bugs.

This commit is contained in:
Vojtěch Pour 2022-11-21 14:59:06 +01:00
parent 1f83442765
commit aa473cf012

View file

@ -2,6 +2,7 @@
#define DEBUGOUTPUT 0
#include <map> // Bluetooth
#include <BluetoothSerial.h> // Bluetooth
#include <M5Core2.h>
// Bluetooth Serial, variables
BluetoothSerial SerialBT;
@ -28,7 +29,7 @@ boolean bigPacket = false;
void setup(){
Serial.begin(BAUDRATE);
M5.begin()
M5.begin();
// ----------------------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------------------------
@ -165,6 +166,12 @@ void loop() {
Serial.print("Attention: ");
Serial.print(attention);
Serial.print("\n");
Serial.print("Poor quality: ");
Serial.print(poorQuality);
Serial.print("\n");
Serial.print("Meditation: ");
Serial.print(meditation);
Serial.print("\n");
}
#endif
bigPacket = false;