This commit is contained in:
Joe Tretter
2020-09-22 16:35:54 -05:00
parent a1ebc4389c
commit 8e76c7f515
4 changed files with 24 additions and 1 deletions

13
AlexaControlTest/.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "PlatformIO",
"task": "Pre-Debug",
"problemMatcher": [
"$platformio"
],
"label": "PlatformIO: Build in debug mode"
}
]
}

View File

@@ -15,3 +15,8 @@ framework = arduino
lib_deps = xose/FauxmoESP@^3.1.0
monitor_speed = 115200
debug_tool = esp-prog
upload_protocol = esp-prog
debug_init_break = tbreak setup

View File

@@ -14,6 +14,8 @@ board = esp32doit-devkit-v1
framework = arduino
;upload_port = /dev/ttyUSB0
monitor_speed = 115200
debug_tool = esp-prog
upload_protocol = esp-prog
debug_init_break = tbreak setup

View File

@@ -4,12 +4,15 @@ void setup()
{
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
Serial.begin(115200);
Serial.println("Hi from the setup function.");
}
int a = 1000;
int b = 100;
void loop()
{
Serial.println(" - Loop");
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, HIGH);
delay(a);