I have experienced some strange behaviour with the Traffic Light example, that on button press, the board would crash.
The strange thing is that, after adding a simple print() statement in the code and rebuilding/re-flashing, it works OK.
Then removing that statement (so reverting to the original code) and re-flashing still leads to a working project.
I'll investigate as time allows to get to the bottom of this.
If anybody else is observing the same issue, please let me know.
I have experienced some strange behaviour with the Traffic Light example, that on button press, the board would crash.
The strange thing is that, after adding a simple print() statement in the code and rebuilding/re-flashing, it works OK.
Then removing that statement (so reverting to the original code) and re-flashing still leads to a working project.
I'll investigate as time allows to get to the bottom of this.
If anybody else is observing the same issue, please let me know.