From b51cce709aae9849a30d402ecb90e8c400832d06 Mon Sep 17 00:00:00 2001 From: Simon Schmidt Date: Tue, 22 Jun 2021 15:33:48 +0200 Subject: [PATCH] added test --- .vscode/extensions.json | 14 +++++++------- src/main.cpp | 5 ++++- test/test_main.cpp | 0 3 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 test/test_main.cpp diff --git a/.vscode/extensions.json b/.vscode/extensions.json index e80666b..0f0d740 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,7 +1,7 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "platformio.platformio-ide" - ] -} +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ] +} diff --git a/src/main.cpp b/src/main.cpp index d2ef722..2f88f9a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,6 +2,7 @@ #include #include "PCA9685.h" +#include #define ESP12_LED 2 #define NODEMCU_LED 16 @@ -178,7 +179,9 @@ void setup_pwm_pca9685() { } void setup() { - Serial.begin(115200); + Serial.begin(460800); + gdbstub_init(); + Serial.println(F("Booting ....")); pinMode(NODEMCU_LED, OUTPUT); diff --git a/test/test_main.cpp b/test/test_main.cpp new file mode 100644 index 0000000..e69de29