the order in which some switches are turned on

Apr 23, 2008 2 Replies

Hi all,



I have an array of N switches . Initially all are OFF.



Somebody turns them ON in some order. It is possible that more switches are turned ON in the same moment.



I need a device which shows me the order in which the switches were turned ON. For instance the device should give me: 4,3,1,5,2 (this is the order in which the switches were turned ON).



The way in which the output is shown in not important. It must be simple to read (by a human, computer, etc).



It is important that the device is able to handle the turned ON (in the same moment) of the multiple switches.



thanks, Laura


You could have easily done this

formatting link
so that ANYONE who read the question could easily see ALL the responses.
formatting link
*-*-*-marked-as-Read-in-ALL-*-groups+Newsgroups.line

More details here:

formatting link
*-*-*-*-*-*-*-*-appear+*-proper-answer-*-*-*-given+much-easier-*-*-*-*-*-*-*+*-frowned-on+*-correcting+*-Followup-To-*+*-*-_perfect_-*-*-*-*+*-*-*-too-lazy-*-*-*-*-*-appropriate-*+*-polite-*-mention-*-*-*-*-*-*-*+Just-because-*-*-*-*-*-*-*-*-does-not-mean-*-*-*-*-*-*+mark-*-*-*-*-all-*-groups+*-*-*-*-two-groups-*-*-aren't-*-different
formatting link
*-*-*-*-*-*-*-*-appear+*-proper-answer-*-*-*-given+much-easier-*-*-*-*-*-*-*+*-frowned-on+*-correcting+*-Followup-To-*+*-*-_perfect_-*-*-*-*+*-*-*-too-lazy-*-*-*-*-*-appropriate-*+*-polite-*-mention-*-*-*-*-*-*-*+Just-because-*-*-*-*-*-*-*-*-does-not-mean-*-*-*-*-*-*+mark-*-*-*-*-all-*-groups+*-*-*-*-two-groups-*-*-aren't-*-different

...and *most* people don't read Usenet via Google Groups.

formatting link
*-a-service-for-*-*-*+Usenet+*-Wikipedia+hide.the.fact+*-*-policed+concerns-*-*-*-*-about-the-Google-interface+*-*-follow-Usenet-customs-and-*-rules+*-*-*-not-*-mustered-*-*-*-*-*-*-*-*-*-*-*-*-*+*-*-*-*-*-*-*-software+less-*-savvy-*+*-*-*-*-*-*-*-*-*-*-*-*-is-now-legendary+zzz+*-summary+qq+Web

How many switches?

Are they real switches operated by people?

Try..

formatting link
or perhaps
formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required