Open bjartek opened 8 years ago
That's not one we've used. Try connecting CLK to GPIO 23, DT to GPIO 24 - that's what the code is setup to use. If it works but in the wrong direction then swap these connections over.
Best regards,
Gordon
On 30 Apr 2016, at 19:23, "Bjarte S. Karlsen" notifications@github.com wrote:
Read about it here: http://www.stuffaboutcode.com/2015/05/raspberry-pi-and-ky040-rotary-encoder.html
I have a black pi-dac+ and would like to use this rotary encoder. How should i wire it to work with iq_rot?
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
Will try that. I still need to power it to 3.3 v though i think. And the button i guess i can just wait with. Will try and give you feedback.
Normally we use 0v and the two gpio. The voltage shouldn't matter as you are not powering anything - just identifying a make / break circuit with each turn and press of a button.
G
Sent from my iPhone
On 1 May 2016, at 20:57, "Bjarte S. Karlsen" notifications@github.com wrote:
Will try that. I still need to power it to 3.3 v though i think. And the button i guess i can just wait with. Will try and give you feedback.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub
Read about it here: http://www.stuffaboutcode.com/2015/05/raspberry-pi-and-ky040-rotary-encoder.html
I have a black pi-dac+ and would like to use this rotary encoder. How should i wire it to work with iq_rot?