Line 363:
Line 363:
<br>
<br>
−
=====Addressing=====
−
−
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.
−
−
The order in the fields are
−
Ch (Top Left) Back (Bottom Left) , Ls (Top Right) , Select (Bottom Right)
−
−
So the settings displayed below are
−
−
{| class="wikitable"
−
|+ Raspberry Pi GPIO Pins
−
|-
−
! Label !! Ch (Top Left) !! Back (Bottom Left) !! Ls (Top Right) !! Select (Bottom Right)
−
|-
−
| A Pins || 25 || 26 || 4 || 15
−
|-
−
| B PINS || 27 || 21 || 3 || 7
−
|-
−
| SWITCH || 23|| 16 || 2 || 22
−
|}