fit code to the new board

This commit is contained in:
2019-07-10 14:02:49 +03:00
parent d6e881bb39
commit 46bd7c4b29
5 changed files with 14 additions and 14 deletions

View File

@@ -14,5 +14,6 @@ board = esp12e
framework = arduino
monitor_speed = 115200
board_build.f_cpu = 80000000L
upload_resetmethod = nodemcu
upload_port=/dev/ttyUSB0

View File

@@ -58,6 +58,8 @@ void sendCommand(float *command) {
void setup() {
Serial.begin(115200);
Wire.begin(12, 13);
pinMode(5, OUTPUT);
digitalWrite(5, true);
}
void loop() {