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

{
// 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

#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
} }


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
- 0
test/test_main.cpp View File


Loading…
Cancel
Save