Search found 2 matches
- 17 Feb 2019, 22:14
- Forum: ESP Easy: Hardware
- Topic: ESP8266 (sonoff basic) and PCF8574 reboot problem
- Replies: 1
- Views: 2037
Re: ESP8266 (sonoff basic) and PCF8574 reboot problem
OK, I solved the problem. TaskRun takes a very long time and apparently the stack. I replaced it with an event. Here such code works for 300 ms. on PCF8574_1#switch do if [PCF8574_1#switch]=1 if [led#led_01]=0 TaskValueSet,4,1,1 event led#led_01 else TaskValueSet,4,1,0 event led#led_01 endif endif e...
- 13 Feb 2019, 22:08
- Forum: ESP Easy: Hardware
- Topic: ESP8266 (sonoff basic) and PCF8574 reboot problem
- Replies: 1
- Views: 2037
ESP8266 (sonoff basic) and PCF8574 reboot problem
hello :) may be someone can help me ver: mega-20190202 1) Sonoff and PCF8574 are connected via i2c 2) Three buttons are connected to PCF8574 (1,2,3 inputs) and 3 LEDs (4,5,6 inputs through 100 kOhm resistor) 3) It is also connected via i2c to oled for diagnostics, BH1750 as a working sensor 4) dht-1...