Go Down

Topic: max with a rotary encoder (Read 10448 times) previous topic - next topic

boomy

Reading your pdf, it looks like a "normal" rotary-encoder to me.
I'm using sunny's library, which works great to define the upper and lower values. The only thing I miss, is to define an option to choose your own multiplier, so it won't in/de-crement with 1, but 5 for example.

In my program, hue and brightness are both from 0 - 255
I want to slowly choose a hue colour, but go 10 times faster with brightness.
I can only change the code now manually, but I want to feed the library with my variable input. I'm not a good programmer and need some help with coding a library with external input.

Phusysist

Quote
Reading your pdf, it looks like a "normal" rotary-encoder to me.


Yes it is...
It's working.
Thanks Boomy.

Justblair

Thanks to Sunbox for the Rotary Encoder Library.  For the cheapo mechanical encoders, this is the only one that I have had much luck with..

Go Up