15 lines
263 B
C++
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);
|
|
} |