Here is my project.
I use 4digit 7 segment display. I store 4 values, one for each digit and keep refreshing the display. I get a weird bug.
Some bits are turned on even when they are off in the stored values. See line numbers 171 to 178 of the application.cpp. I get the error, if I replace the block(lines 171 to 178) with
interval = intervalAfterFirstUpdate;Crazy…
How can you reproduce this error?
Do the above mentioned code change.
Add the following lines in the beginning of the function
Run the code.
Connect a led between the pins (D5 and D0) or (A3 and D0) and it shouldn’t be on but it is.