Setup of 2nd mcu
This commit is contained in:
parent
b2b34f2710
commit
a719dd6890
15
projectEEG/projectEEG2mcu.ino
Normal file
15
projectEEG/projectEEG2mcu.ino
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#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);
|
||||||
|
}
|
Loading…
Reference in a new issue