To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 1035
1034  |  1036
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, I’ve 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:
  Re: NXT apparently cannot detect two buttons pressed at once
 
(...) Confirmed. The arrows and grey button share a common resistor ladder and only one can be detected. But the orange "on" button has an independant circuitry and can be used separately. See keypad schematics in the HDK. Philo (17 years ago, 21-Jan-08, to lugnet.robotics.nxt, FTX)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR