Line 261:
Line 261:
The Software itself needs to be informed of the correct pins to examine to see the behavior it is expecting. Encoder going up and down and switches being pressed, and obviously the machine has no way of telling which encoder is which.
The Software itself needs to be informed of the correct pins to examine to see the behavior it is expecting. Encoder going up and down and switches being pressed, and obviously the machine has no way of telling which encoder is which.
This is all identified in the webconf wiring section.
This is all identified in the webconf wiring section.
+
+
The order in the fields are
+
Ch (Top Left) Back (Bottom Left) , Ls (Top Right) , Select (Bottom Right)
+
+
So a V4 implementation (Two encoders either side of the touchscreen) would look something like this. . .
[[File:Zynthian-GPIO-encoders-amp3.png|300px|frame|center|Zynthian GPIO setting]]
[[File:Zynthian-GPIO-encoders-amp3.png|300px|frame|center|Zynthian GPIO setting]]
Line 266:
Line 271:
The ordering of the Encoders in the Webconf is
The ordering of the Encoders in the Webconf is
−
Ch, Back, Ls, Select… So a V4 implementation ( Two encoders either side of the touchscreen) would look something like this. . .
+
Line 272:
Line 277:
−
Just to prove it can be done on GPIO pins here it is in all it's glory. That's a hifiberry Amp on top of the Pi and it all fits in a case with a 18V supply powering it all...
+
Just to prove it can be done on GPIO pins here it is in all it's glory. That's a hifiberry Amp on top of the Pi and it all fits in a case with a 18V supply powering it all, and chains used to be called layers. . .
[[File:Zynthian-amp3-open.jpg|300px|frame|center|Zynthian-amp3-open]]
[[File:Zynthian-amp3-open.jpg|300px|frame|center|Zynthian-amp3-open]]