Page 1 of 1

Rotary encoder to control GM slider

Posted: Thu Dec 13, 2018 10:33 am
by richbass
Hi all,

I'm about to start wiring up a rotary encoder to gpio pins for control of the GM slider; a simple direct overall brightness control.

Is this possible? (Seems to be from reading other posts)

Has anyone already done this that could share some tips or code? (I've searched here and found details on gpio control of relays plus the thread about discoHat, but nothing specific for what I'm about to implement).

Thanks

Re: Rotary encoder to control GM slider

Posted: Thu Dec 13, 2018 11:31 am
by mcallegari
ATM it is not possible since GPIOs are only handled for high/low states.
Encoding (and I guess PWM) would be possible but requires some rework.

Re: Rotary encoder to control GM slider

Posted: Thu Dec 13, 2018 1:01 pm
by richbass
Gotcha. Thanks