Browse Source

added test

tags/v0.1.0
Simon Schmidt 2 years ago
parent
commit
b51cce709a
3 changed files with 11 additions and 8 deletions
  1. 7
    7
      .vscode/extensions.json
  2. 4
    1
      src/main.cpp
  3. 0
    0
      test/test_main.cpp

+ 7
- 7
.vscode/extensions.json View File

@@ -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"
]
}

+ 4
- 1
src/main.cpp View File

@@ -2,6 +2,7 @@
#include <Wire.h>

#include "PCA9685.h"
#include <GDBStub.h>

#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);

+ 0
- 0
test/test_main.cpp View File


Loading…
Cancel
Save