Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Enhanced rotary encoder & button input
#5
Hi Kent,


I haven't considered these yet, but only because I didn't know they existed.
You mentioned one of these selector switch with 8 positions and 3 outputs (which makes sense since bits have two states and 2 to the power of 3 is 8), but after a very short search I didn't find any of these.
Just out of curiosity, do you own one of these and is it something one can buy ready-to-use or are these DIY projects made of similar switches (which I found but have about as many pins as positions)?

But including support for these and similar switches should be possible by reading the pin states as bitmaps and making unique values determining specific commands to be executed.
I'd have to add support for multiple pins, a few more distinct commands per button and think of a appropriate configuration format for these.
Do you know of any of these switches with 16 or maybe even 32 positions? If I add it, I should probably consider variants.

Peter
Reply


Messages In This Thread
Enhanced rotary encoder & button input - by pgzh1 - 05-02-2020, 07:55 PM
RE: Enhanced rotary encoder & button input - by pgzh1 - 05-03-2020, 08:50 PM

Forum Jump: