smit-happens / YCP_EVOS

Development for the 2018 YCP Formula Electric Vehicle
MIT License
9 stars 1 forks source link

Swap encoder pins in Port.h #134

Closed smit-happens closed 6 years ago

smit-happens commented 6 years ago

End goal

Have MB_ENC_PINA = 26 and MB_ENC_PINB = 25

Relevant Info/Links

This is due to the reversed orientation when testing on the breadboard vs when it's mounted on the dash

Your Code

How it currently looks:
//Encoder
const uint8_t MB_ENC_PINA          = 25;  //[0,1] Digital Input
const uint8_t MB_ENC_PINB          = 26;  //[0,1] Digital Input