gpio_inputs_-_button_led_control
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gpio_inputs_-_button_led_control [2016/08/09 20:19] – walkeradmin | gpio_inputs_-_button_led_control [2017/10/22 15:38] (current) – [The Button in Action] walkeradmin | ||
|---|---|---|---|
| Line 66: | Line 66: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | ==== A Small Issue ==== | + | ==== The Button in Action |
| + | Here is the button turning on the LED {{: | ||
| \\ | \\ | ||
| + | \\ | ||
| + | ==== A Small Issue ==== | ||
| \\ | \\ | ||
| While this code works without any real problems, because we are in a constant loop, this code is very heavy on CPU load, on the Pi Zero I am using this causes the processer to sit at 100 %, a better method is to use an **interrupt** | While this code works without any real problems, because we are in a constant loop, this code is very heavy on CPU load, on the Pi Zero I am using this causes the processer to sit at 100 %, a better method is to use an **interrupt** | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | This guide is comprised of information from a youtube video by **Gaven MacDonald**. Thanks Gaven. | ||
| + | \\ | ||
| + | \\ | ||
gpio_inputs_-_button_led_control.1470773970.txt.gz · Last modified: (external edit)
