Hello,
I've managed to get the rotary encoder going thanks to some information from a post by dm72sk. Thanks! And many thanks to Gordon from IQaudio for the PI-DAC+, the Rotary Encoder, and the wonderful acrylic chassis. Been using the first PI-DAC on a RaspBerry Pi Model A for a very long time but after the new version 3 came out, the extra processing power is hard to resist.
Modded the encoder into the top of the red IQaudio PI-CASE exactly in the centre and with the silver knob, looks a treat.
Using the encoder, it steps the volume in roughly 5% increments. Is it at all possible to reduce this? I've looked through the IQ_rot.c code but my coding experience is limited and I can't see where I'd make adjustments to the code (if even possible).
Also, I'd like to utilise the push button of the rotary encoder to pause/play but have absolutely no idea on this and whether any code exists. I'm assuming the two spare pins on the encoder are for this, but they're not connected to any GPIO. Has anybody got any further info on this?