Roz change indicators

This commit is contained in:
2024-08-27 13:10:35 +03:00
parent 26d6b6dab1
commit 73982bcbbb
3 changed files with 15 additions and 11 deletions

View File

@@ -1,7 +1,10 @@
{ {
// See http://go.microsoft.com/fwlink/?LinkId=827846 // See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format // for the documentation about the extensions.json format
"recommendations": [ "recommendations": [
"platformio.platformio-ide" "platformio.platformio-ide"
] ],
} "unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}

View File

@@ -19,4 +19,5 @@ upload_port = 192.168.1.137
lib_deps = lib_deps =
ottowinter/AsyncMqttClient-esphome @ ^0.8.4 ottowinter/AsyncMqttClient-esphome @ ^0.8.4
jwrw/ESP_EEPROM @ ^2.1.0 jwrw/ESP_EEPROM @ ^2.1.0
https://github.com/thomasfredericks/Bounce2.git
; sstaub/Ticker @ ^3.2.0 ; sstaub/Ticker @ ^3.2.0

View File

@@ -9,9 +9,9 @@
#define BUTT2 (2) #define BUTT2 (2)
#define SOCK1 (4) #define SOCK1 (4)
#define SOCK2 (5) #define SOCK2 (5)
#define LED_WF (13) //Green #define LED_WF (14) //Green
#define LED_MQ (12) //Blue #define LED_MQ (12) //Blue
#define LED_WRK (14) //Red #define LED_WRK (13) //Red
const char* ssid = "wf-home"; const char* ssid = "wf-home";
const char* password = "0ndthnrf"; const char* password = "0ndthnrf";
@@ -93,8 +93,8 @@ void setup(){
but2.interval(50); but2.interval(50);
pinMode(SOCK1, OUTPUT); pinMode(SOCK1, OUTPUT);
pinMode(SOCK2, OUTPUT); pinMode(SOCK2, OUTPUT);
digitalWrite(LED_WF, HIGH); //digitalWrite(LED_WF, HIGH);
digitalWrite(LED_MQ, HIGH); //digitalWrite(LED_MQ, HIGH);
digitalWrite(LED_WRK, HIGH); digitalWrite(LED_WRK, HIGH);
EEPROM.begin(8); EEPROM.begin(8);
stat1 = EEPROM.read(0); stat1 = EEPROM.read(0);