added test

This commit is contained in:
Simon Schmidt 2021-06-22 15:33:48 +02:00
parent 09aff91b31
commit b51cce709a
3 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,7 @@
{ {
// See http://go.microsoft.com/fwlink/?LinkId=827846 // See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format // for the documentation about the extensions.json format
"recommendations": [ "recommendations": [
"platformio.platformio-ide" "platformio.platformio-ide"
] ]
} }

View File

@ -2,6 +2,7 @@
#include <Wire.h> #include <Wire.h>
#include "PCA9685.h" #include "PCA9685.h"
#include <GDBStub.h>
#define ESP12_LED 2 #define ESP12_LED 2
#define NODEMCU_LED 16 #define NODEMCU_LED 16
@ -178,7 +179,9 @@ void setup_pwm_pca9685() {
} }
void setup() { void setup() {
Serial.begin(115200); Serial.begin(460800);
gdbstub_init();
Serial.println(F("Booting ....")); Serial.println(F("Booting ...."));
pinMode(NODEMCU_LED, OUTPUT); pinMode(NODEMCU_LED, OUTPUT);

0
test/test_main.cpp Normal file
View File