xxxx
This commit is contained in:
13
AlexaControlTest/.vscode/tasks.json
vendored
Normal file
13
AlexaControlTest/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "PlatformIO",
|
||||||
|
"task": "Pre-Debug",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$platformio"
|
||||||
|
],
|
||||||
|
"label": "PlatformIO: Build in debug mode"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -15,3 +15,8 @@ framework = arduino
|
|||||||
lib_deps = xose/FauxmoESP@^3.1.0
|
lib_deps = xose/FauxmoESP@^3.1.0
|
||||||
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
|
|
||||||
|
|
||||||
|
debug_tool = esp-prog
|
||||||
|
upload_protocol = esp-prog
|
||||||
|
debug_init_break = tbreak setup
|
||||||
@@ -14,6 +14,8 @@ board = esp32doit-devkit-v1
|
|||||||
framework = arduino
|
framework = arduino
|
||||||
;upload_port = /dev/ttyUSB0
|
;upload_port = /dev/ttyUSB0
|
||||||
|
|
||||||
|
monitor_speed = 115200
|
||||||
|
|
||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
upload_protocol = esp-prog
|
upload_protocol = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
@@ -4,12 +4,15 @@ void setup()
|
|||||||
{
|
{
|
||||||
// put your setup code here, to run once:
|
// put your setup code here, to run once:
|
||||||
pinMode(LED_BUILTIN, OUTPUT);
|
pinMode(LED_BUILTIN, OUTPUT);
|
||||||
|
Serial.begin(115200);
|
||||||
|
Serial.println("Hi from the setup function.");
|
||||||
}
|
}
|
||||||
|
|
||||||
int a = 1000;
|
int a = 1000;
|
||||||
int b = 100;
|
int b = 100;
|
||||||
void loop()
|
void loop()
|
||||||
{
|
{
|
||||||
|
Serial.println(" - Loop");
|
||||||
// put your main code here, to run repeatedly:
|
// put your main code here, to run repeatedly:
|
||||||
digitalWrite(LED_BUILTIN, HIGH);
|
digitalWrite(LED_BUILTIN, HIGH);
|
||||||
delay(a);
|
delay(a);
|
||||||
|
|||||||
Reference in New Issue
Block a user