IRAM issue in dimmer project


Can you help me tp resolve this problem in my dimmer project, actually i’m using an ESP8266 ( 3.0.0), when i upload the code to the card, i got this message in the serial monitor :

--------------- CUT HERE FOR EXCEPTION DECODER ---------------
{⸮q⸮⸮i;⸮ISR not in IRAM!

User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Abort called


ctx: cont
sp: 3ffffec0 end: 3fffffc0 offset: 0000
3ffffec0:  feefeffe feefeffe feefeffe feefeffe  
3ffffed0:  000000fe 00000000 00000000 00000000  
3ffffee0:  00000000 00000000 00000000 00ff0000  
3ffffef0:  5ffffe00 5ffffe00 00000020 3ffeee44  
3fffff00:  00000000 00000002 00000005 4020478e  
3fffff10:  40100811 00000100 00002580 402047a0  
3fffff20:  3ffefb84 402058fd 00000005 40204ce1  
3fffff30:  feefeffe 00000001 3ffeed04 3ffeee44  
3fffff40:  3fffdad0 00000000 00000005 40204d80  
3fffff50:  00000000 feefeffe feefeffe 4020316d  
3fffff60:  00002580 0000001c 3ffeea50 402031a5  
3fffff70:  3fffdad0 00000000 3ffeed04 40201e60  
3fffff80:  feefeffe feefeffe feefeffe feefeffe  
3fffff90:  feefeffe feefeffe feefeffe 3ffeee44  
3fffffa0:  3fffdad0 00000000 3ffeee30 402042c8  
3fffffb0:  feefeffe feefeffe 3ffe85ec 401010cd  

I’m new in this field, and i like to learn more about this issue.

#define BLYNK_PRINT Serial            
#include <ESP8266WiFi.h>           // Header file for Wifi Module 
#include <BlynkSimpleEsp8266.h>  // header file for blynk 
#include <RBDdimmer.h>           // header file for robodyn dimmer

#define auth "ZeBzdsvxb1tzv6zIxYmTyTbpRbYEc0bd"  // You should get Auth Token in the Blynk App.  
#define ssid "MYLAP"                             //Enter Wifi Name
#define pass "12345678"                          //Enter wifi Password

#define outputPin  16  // PWM pin for dimmer
#define zerocross  5 // for boards with CHANGEBLE input pins

dimmerLamp dimmer(outputPin, zerocross); //initialase port for dimmer for ESP8266, ESP32, Arduino due boards

int outVal = 0; // Intialisation value for dimmer
int dim_val; // dimmer value to dim the appliance

void setup()
  Serial.begin(9600); // begin serial communication
  dimmer.begin(NORMAL_MODE, ON); //dimmer initialisation: name.begin(MODE, STATE)
  Blynk.begin(auth, ssid, pass); // begin blynk server

void loop()
{; // Run blynk server

BLYNK_WRITE(V0)  {  // Set to your virtual pin  
  outVal = param.asInt(); // Get State of Virtual Button
  dim_val = map(outVal, 0, 1023, 0, 100); // mapped the value for dimmer
  dimmer.setPower(dim_val);               // Set dimmer power
  Blynk.virtualWrite(V1, dim_val); //sending to Blynk

If you search for this message you’ll find lots of answers about how to resolve the issue.
It’s to do with the way you declare the interrupt functions (ISRs).


The problem is allready resolved, thanks to one of your responses in other projects.
Thanks Pete.