Subject:
|
Re: NXT apparently cannot detect two buttons pressed at once
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Mon, 21 Jan 2008 18:55:47 GMT
|
Viewed:
|
34969 times
|
| |
| |
In lugnet.robotics.nxt, Philippe Hurbain wrote:
|
But the orange on button has an independant circuitry
and can be used separately. See keypad schematics in the HDK.
|
Actually, Ive found that the orange button cannot be used independently, at
least not from an NXT-G program. A simple program in NXT-G demonstrates the
buttons supercede each other as follows:
Right button (lowest priority)
Left button
Off button
On button (highest priority)
For example, while the Right button is pressed, pressing any other button will
result in the Right button indicating released and the other button as
pressed. While the orange On button is pressed, all other buttons are
ignored, not available independently.
You can even demonstrate this without a program -- try turning off the NXT while
the orange button is pressed. It stays on.
Since the schematic shows SW3 on its own circuit, the buttons being exclusive in
this way may be implemented in software somewhere.
Steve
|
|
Message is in Reply To:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|