pomeroyb / PortalGun

Code to control a Portal Gun (From Rick and Morty)
32 stars 19 forks source link

Wiring rotary encoder #5

Closed MrBelm closed 7 years ago

MrBelm commented 7 years ago

Only one of the button pins on the rotary encoder is mentioned in the pin assignment list. What does the other pin connect to?

pomeroyb commented 7 years ago

Connect A2 to one of the button pins, and the other button pin to ground. The button is used as a switch that connects A2 to ground when pressed

MrBelm commented 7 years ago

Thanks!