Line 198:
Line 198:
Add software to de-bounce the switches. Possible for the Pi doing GPIO but not so easy for an MCP23107.
Add software to de-bounce the switches. Possible for the Pi doing GPIO but not so easy for an MCP23107.
−
So capacitors are recommended to be fitted to address switch bounce.
+
So capacitors are recommended to be fitted to address switch bounce.
+
From our leader...
+
<small>These capacitors are not “critical” but “convenient”. They debounce the encoder/switch signal and avoid that software debouncing algorithm consumes “high priority” CPU cycles (ISR). I recommend to use some kind of hardware debouncing circuitry with the encoders and switches, but you can ignore my recommendation and your Zynthian probably will work without problems :wink:</small>
+
And further...
+
+
<small>The debouncing circuit in the kit’s PCb consist of 3 capacitor from the 3 signal encoder pins to ground. For the switch pin 100nF and for the 2 encoder pins, 10nF.
+
</small>
=====But what are the extra Switches s1-s4?=====
=====But what are the extra Switches s1-s4?=====