Jump to content

Recommended Posts

Posted

Hi!

If I wired 2 push button switches like the one on the schematics of the rotary encoders, can it replace the encoder? like up and down buttons?

or maybe by using up/down decade counters?

Thanks much,

Ryan

Posted

Not really. Encs work like that:

Right direction (e.g. up counting):

bit 1: 0 1 1 0 0 ...

bit 2: 0 0 1 1 0 ...

and the other way (down):

bit 1: 0 0 1 1 0 ...

bit 2: 0 1 1 0 0 ...

That means you would have to push those two buttons exactly that way to go up/down. This also means that if you releace a button in a certain position you count down by one again (so you can only go up/down by 4 without holding the buttons).

Perhaps you can lget there from the MIOS side: E.g. look at the SID Firmware. The Encoder to select the Menu items can also be two push buttons, you just have to set that bit in the main.asm

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...