meq123 wrote: 
> You don't need a Vcc pin. If they're like most other encoders,  connect
> the center one of the three pins to ground and the other two as the
> up/down pins (reverse them if they go the wrong way when you turn the
> knob).  The twp pins on the other side will be the push switch.  Connect
> one of them to ground and the other to the gpio pin you are using for
> the push function - doesn't matter which of the two pins goes to ground
> and which goes to gpio.

Thank you for your answer!

Is there some specific GPIO pins that I should use? How do I know if the
GPIO pin has internal pull-up resistor in use for example?

Thanks!

-Jursi


------------------------------------------------------------------------
Jursi's Profile: http://forums.slimdevices.com/member.php?userid=69100
View this thread: http://forums.slimdevices.com/showthread.php?t=107001

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to