Guest Ryan Posted February 15, 2004 Report Share Posted February 15, 2004 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 Quote Link to comment Share on other sites More sharing options...
pay_c Posted February 15, 2004 Report Share Posted February 15, 2004 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 Quote Link to comment Share on other sites More sharing options...
Guest Ryan Posted February 16, 2004 Report Share Posted February 16, 2004 Thanks a lot! i'll see what i can do about it when i finish my box.Ryan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.