gpio_inputs_-_button_led_control_using_an_interrupt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
gpio_inputs_-_button_led_control_using_an_interrupt [2016/08/09 23:07] – walkeradmin | gpio_inputs_-_button_led_control_using_an_interrupt [2016/12/13 21:28] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 55: | Line 55: | ||
\\ | \\ | ||
Here you can see the code running {{ : | Here you can see the code running {{ : | ||
+ | \\ | ||
+ | The main advantage using the **interrupt** is that my processor occupancy on the Pi Zero is now around 10% normal, and 14% when I press the button. That's much better than the previous constant 100%. | ||
+ | \\ | ||
+ | \\ | ||