From a719dd689054c0e954682bcaa810edaaacf1cebe Mon Sep 17 00:00:00 2001 From: sebhajek Date: Tue, 13 Dec 2022 13:38:19 +0100 Subject: [PATCH] Setup of 2nd mcu --- projectEEG/projectEEG2mcu.ino | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 projectEEG/projectEEG2mcu.ino diff --git a/projectEEG/projectEEG2mcu.ino b/projectEEG/projectEEG2mcu.ino new file mode 100644 index 0000000..582b7e2 --- /dev/null +++ b/projectEEG/projectEEG2mcu.ino @@ -0,0 +1,15 @@ +#define BAUDRATE 115200 +#define DEBUGOUTPUT 0 + +#include +#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); +} \ No newline at end of file