Re: the order in which some switches are turned on
- From: "David L. Jones" <altzone@xxxxxxxxx>
- Date: Tue, 22 Apr 2008 23:16:19 -0700 (PDT)
On Apr 23, 3:19 pm, laura <laura.brandu...@xxxxxxxxx> wrote:
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 use a microprocessor with enough interrupt lines to have one
per switch.
Switches trigger the interrupts in order and you could then get each
interrupt routine to display the corresponding number on an LCD in
sequence. As each interrupt routine is processed you end up with your
sequence of numbers on the LCD in the order they were pressed.
Dave.
.
- Follow-Ups:
- Re: the order in which some switches are turned on
- From: laura
- Re: the order in which some switches are turned on
- From: David L. Jones
- Re: the order in which some switches are turned on
- References:
- the order in which some switches are turned on
- From: laura
- the order in which some switches are turned on
- Prev by Date: Re: Soldering SMT Components
- Next by Date: Re: Soldering SMT Components
- Previous by thread: Re: the order in which some switches are turned on
- Next by thread: Re: the order in which some switches are turned on
- Index(es):
Relevant Pages
|