Jump to content

Recommended Posts

Guest JimCook
Posted

I need a routine in MIOS to scan a nine output, nine input switch matrix.  In other words, I need to look at 81 switch contacts which are connected in nine groups of nine switches (Hammond drawbar switches).

Any suggestions?

Thanks!

Guest JimCook
Posted

borntob4 convinced me to stick with analog encoding the drawbars but I still kind of like the switch matrix idea.  

I'd like to take a look at your scan matrix driver!

Posted

The scan matrix example can now be found in the download section. Once it has been successfully tested by you in a "real environment", I could write a second example which demonstrates how to handle with up to 1024 buttons, and maybe a third which uses a seperate shift register chain (which is captured more frequently than the "normal" chain) in order to minimize the latency.

Please use MIOS V1.7 otherwise the DOUTs are not driven properly. The current release candidate can also be found in the download section

Best Regards, Thorsten.

Posted

;D ;D ;D 1024 buttons?!!??!;D ;D ;D

Thorsten you never cease to impress me man! It seems like every time I have a problem with the design of my sequencer, a few weeks pass, and suddenly, you create the solution...

Posted

Nice work Thorsten. I spent most of the weekend toying with this :)

Can't wait to see the example with the extra DIN SR used.... I'm not sure what you mean about the separate chain...But I'm sure I'll find out soon :)

Very cool....  8)

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...