Multi-toggle matrix question

3 posts / 0 new
Last post
ldamrosch
Offline
Joined: 01/03/2010
Multi-toggle matrix question

 Hey all,
I just got into M4L a few days ago -- thanks, Mike, for your work with these great tutorials and starting this community! -- and I was wondering about this scenario:
Given a matrix of toggle switches, is there a simple, elegant way to program the whole matrix so that whenever a new switch is activated, the one which had previously been on turns off, regardless of where it is on the grid?
I can think of a couple ways to do this in a laborious way, interconnecting the whole network with a ton of virtual wires so that any given button can communicate to all the others, but there must be a simpler, more logical solution...
right?
Thanks in advance for any assistance!
Luke
 
 

mchenetz's picture
mchenetz
Offline
Joined: 09/17/2009

If you connect everything to a matrixctl first then there are 3 options if you look at the inspector (Ctrl-I)

1. One Non-Zero Cell Per Column
2. One Non-Zero Cell Per Matrix
3. One Non-Zero Cell Per Cell

You can check off all of the ones that correspond. I have never had use for that and have no tried it, but I believe that is what those properties do. :-)

Mike

ldamrosch
Offline
Joined: 01/03/2010

Thanks very much!

Still getting the hang of everything, so I appreciate your humoring such a beginner's question...

Luke