mxmxmx / O_C

display w/ dac
472 stars 122 forks source link

Fix mapping between DigitalInput enum and physical pin #72

Closed mxmxmx closed 6 years ago

mxmxmx commented 6 years ago

This works in the regular case (since TR1-4 are pins 0-3) but fails when FLIP_180 is enabled (or if the physical pins are remapped)