| | Compass sensor with NXC Karen Lepper
|
| | Hello, I coach a Robofest high school team, and we're using two NXT robots for the current challenge, programmed with NXC. We've been having a problem using the Compass sensor with NXC. If I use the view function on the brick (selecting Ultrsonic (...) (17 years ago, 28-Feb-08, to lugnet.robotics.nxt)
|
| | |
| | | | Re: Compass sensor with NXC John Hansen
|
| | | | (...) Which compass sensor are you using, the HiTechnic one or the Mindsensors one? Are you using a low level API function to read its value or are you using one of the newer API functions specific to the compass sensor? Can you email me your (...) (17 years ago, 28-Feb-08, to lugnet.robotics.nxt)
|
| | | | |
| | | | | | Re: Compass sensor with NXC Karen Lepper
|
| | | | (...) Hi John, We're using the HiTechnic sensor. I've contacted you directly with a copy of the program, and here it is if anyone else has an idea for us: task main() { SetSensorLowspeed(IN_2); int dir; ClearScreen (); TextOut (32, 48, "Heading:"); (...) (17 years ago, 28-Feb-08, to lugnet.robotics.nxt)
|
| | | | |
| | | | | | Re: Compass sensor with NXC John Hansen
|
| | | | (...) I emailed Karen with the solution to her problem. This can trip you up if you aren't careful. Drawing values to the screen can confuse you if you draw over the top of an existing number without clearing the screen first. John Hansen (17 years ago, 29-Feb-08, to lugnet.robotics.nxt)
|
| | | | |
| | | | | | motor port splitter? Elizabeth Mabrey
|
| | | | Looks like only Mindsensor provides port splitter for nxt motors. Unfortunately, this splitter will not allow independent control. I had this application which requires ita port to be attached to one NXT motor, and one RCX lamp (while the other two (...) (17 years ago, 10-Mar-08, to lugnet.robotics.nxt)
|
| | | | |