Neurosky-Mindwave-M5Stack-C.../projectEEG/projectEEG2mcu.ino
2022-12-13 13:38:19 +01:00

15 lines
263 B
C++

#define BAUDRATE 115200
#define DEBUGOUTPUT 0
#include <M5Core2.h>
#include "icons.cpp"
#define RX_PIN 19
#define TX_PIN 27
void setup(){
Serial.begin(BAUDRATE);
Serial2.begin(9600, SERIAL_8N1, RX_PIN, TX_PIN);
M5.begin();
M5.Axp.SetLcdVoltage(3150);
}