mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 02:47:16 +00:00
.
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
; [env:esp32doit-devkit-v1]
|
||||
; board = esp32doit-devkit-v1
|
||||
|
||||
[env:esp32doit-devkit-v1]
|
||||
[env:esp32-c3-devkitm-1]
|
||||
platform = espressif32
|
||||
;board = esp32doit-devkit-v1
|
||||
board = esp32-c3-devkitm-1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
|
@@ -7,7 +7,7 @@ void setup();
|
||||
|
||||
void setup() {
|
||||
|
||||
pinMode(12, OUTPUT);
|
||||
pinMode(8, OUTPUT); // 12
|
||||
|
||||
Serial.begin(115200);
|
||||
Serial.println("Running setup ...");
|
||||
@@ -45,9 +45,9 @@ void setup() {
|
||||
|
||||
void loop() {
|
||||
Serial.println("LED ON");
|
||||
digitalWrite(12, HIGH);
|
||||
digitalWrite(8, HIGH); //12
|
||||
delay(750);
|
||||
Serial.println("LED OFF");
|
||||
digitalWrite(12, LOW);
|
||||
digitalWrite(8, LOW); //12
|
||||
delay(750);
|
||||
}
|
Reference in New Issue
Block a user