Just prepend the "modifier" volatile
to your current declaration of int Isr_flag = 0;
An explanation for what it's good can be found here
Example: Logging and graphing data from your Spark Core using Google - #177 by ScruffR
Just prepend the "modifier" volatile
to your current declaration of int Isr_flag = 0;
An explanation for what it's good can be found here
Example: Logging and graphing data from your Spark Core using Google - #177 by ScruffR