Usage Policy

These programs are designed for recreational and educational use by non-competitive individuals only. The use of these programs in competitive events (e.g. FLL) is prohibited. NXT-progs is not responsible for the misuse of these programs.

Wednesday, April 13, 2011

Important NXT Note

Here is something that all you people programming the NXT may find helpful. According to RobotC and my experience, the NXT has hardware limitations that make it so that it can not recognize multiple button presses. If you have three switches inside a loop to show what buttons are pressed, it will see only one at a time. But, if you have a loop that exits when true and you have an AND logic block with the true/false inputs from two buttons, psuedo code following, then it will seem to recognize both.
do {/*stuff*/} until (l)==true AND (r)==true... It will exit when both are pressed.

No comments:

Post a Comment