Contains examples and guides on how to do things with NXT robots using ROBOTC.
Move the robot and use shooting motors.
Use the compass, ultrasonic, and gyroscope sensors.
Note: Incomplete. The gyroscope returns rate of tilting, not the actual tilt, so you'll need to integrate it to get useful information.
Makes sure all sensors are giving values.
Useful for debugging.
Do stuff when buttons on a Logitech controller are pressed.
Note: the controller needs to be connected via USB to your computer.
Note: to open the joystick window, go to
Robot > LEGO Brick > Joystick Control - Basic.
Troubleshooting: If the controller is not showing an output, then reset the Primary Game Controller.
Show some information on the debug stream on the computer.
To view the debug stream, first go to
Window > Menu Level > Super User then go to
Robot > Debugger Windows > Debug Stream.
Note: the button will be greyed out until you start the program
Display some information / arbitrary text on the NXT's screen.
Play the Mario Bros theme song.
You can use this converter to convert your own notes into the correct format so that your robot can play it.
For more information, just visit this website
Shows the basics on how to use timers.