From aa473cf012921ce9a94c9bb9e4e33d4b68c6bd6f Mon Sep 17 00:00:00 2001 From: BigTire Date: Mon, 21 Nov 2022 14:59:06 +0100 Subject: [PATCH] Fixed some bugs. --- parser/{ => core2_C_Parser}/core2_C_Parser.ino | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) rename parser/{ => core2_C_Parser}/core2_C_Parser.ino (95%) diff --git a/parser/core2_C_Parser.ino b/parser/core2_C_Parser/core2_C_Parser.ino similarity index 95% rename from parser/core2_C_Parser.ino rename to parser/core2_C_Parser/core2_C_Parser.ino index 3019513..a4352be 100644 --- a/parser/core2_C_Parser.ino +++ b/parser/core2_C_Parser/core2_C_Parser.ino @@ -2,6 +2,7 @@ #define DEBUGOUTPUT 0 #include // Bluetooth #include // Bluetooth +#include // 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;