March 2017
Beginner to intermediate
422 pages
8h 4m
English
If you tried the previous recipe, you probably noticed that the color cycling switched quickly while the button was pressed. This was because the input behavior would loop as fast as the Raspberry Pi Zero could process the input, which is pretty fast! A simple software method to allow for a more human-speed signal recognition is called debouncing.
You'll want the following equipment in addition to your Raspberry Pi Zero, a breadboard, and jumper wires:
toggle.py file, and put in the following code to test it out: ...Read now
Unlock full access