Interrupt Example
Posted: Tue Mar 31, 2015 12:52 pm
The sketch is a working example to show the use of interrupts.
Each time the level from GPIO0 changes from HIGH to LOW the main loop (that prints the value of a variable) in interrupted and the value of the variable inverted.
The picture below shows the output from the sketch.
Each time the level from GPIO0 changes from HIGH to LOW the main loop (that prints the value of a variable) in interrupted and the value of the variable inverted.
The picture below shows the output from the sketch.