Fixed some bugs.
This commit is contained in:
parent
1f83442765
commit
aa473cf012
|
@ -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;
|
Loading…
Reference in a new issue