Open BlueBackbite opened 5 years ago
Out of frustration I switched to an ESP32 board and have no issues. Unsure whether this is a problem with the ESP8266 being an single core board or not.
Had the same thing. First resolved it by downgrading the ESP8266 board version to 2.5.0 in the board manager. However, the actual solution is adding in the file src/esp8266/RBDmcuESP8266.cpp the attribute ICACHE_RAM_ATTR
in front of the function isr_ext()
, in the same way as it is in the function onTimerISR()
(so void ICACHE_RAM_ATTR isr_ext()
)
more background info on why you can find here
I can't get it to work, no errors, but nothing happens. I'm using NodeMCU 1.0, Arduino IDE 1.8.9, ESP8266 2.5.0 and the ICACHE_RAM_ATTR modification. I can't even get the dimmer's led to turn on. Any ideas?
I gave up, it is not a well supported product I guess.
Went with this approach much cheaper and works perfectly to regulate the heat-lamp in a terrarium (https://www.instructables.com/id/230VAC-Dimmer-Controlled-by-Arduino-Raspberry-Pi/ )
@Hoefnix can I avoid the photoresistor intermediary someway?
Same, doesn't work with and ESP8266 Wemos D1 Mini. But work fine with ans ESP32 Wemos D1 Mini
This works on Node MCU 1.0. All you have to do is to add "ICACHE_RAM_ATTR" in between the "void isr_ext()" RBDmcuESP8266.cpp file.
Like this: void ICACHE_RAM_ATTR isr_ext()
Thank you so much, it works perfectly! Thx @anjana55 , Thx @Github, Thx @Internet!
This works on Node MCU 1.0. All you have to do is to add "ICACHE_RAM_ATTR" in between the "void isr_ext()" RBDmcuESP8266.cpp file.
Like this: void ICACHE_RAM_ATTR isr_ext()
Thank you for this . Frustration relief :) Works on Wemos mini pro !
Thank you so much, it works perfectly! Thx @anjana55 , Thx @github, Thx @internet!
can you explain, how to setup you?
heth How to
Attempting to upload and run the SimpleToggleDimmer example on an ESP8266 throws an ISR not in IRAM! error.
I'm using Arduino IDE 1.8.9 with an Adafruit Feather HUZZAH 8266.
Cleared all the memory on the board and reflashed.
I see ICACHE_RAM_ATTR is used in source. Any suggestions for troubleshooting from here?