NxtDirectCommands
A component that provides a low-level interface to a LEGO MINDSTORMS NXT robot, with functions to send NXT Direct Commands
The BluetoothClient component that should be used for communication. Must be set in the Designer
Delete a file on the robot.
Download a file to the robot.
Get the battery level for the robot. Returns the voltage in millivolts.
Get the brick name of the robot.
Get the name of currently running program on the robot.
Get the firmware and protocol version numbers for the robot as a list where the first element is the firmware version number and the second element is the protocol version number.
Reads the values of an input sensor on the robot. Assumes sensor type has been configured via SetInputMode.
Reads the output state of a motor on the robot.
Keep Alive. Returns the current sleep time limit in milliseconds.
Returns a list containing the names of matching files found on the robot.
Returns the count of available bytes to read.
Reads unsigned low speed data from an input sensor on the robot. Assumes sensor type has been configured via SetInputMode.
Writes low speed data to an input sensor on the robot. Assumes sensor type has been configured via SetInputMode.
Read a message from a mailbox (1-10) on the robot.
Write a message to a mailbox (1-10) on the robot.
Play a sound file on the robot.
Make the robot play a tone.
Reset the scaled value of an input sensor on the robot.
Reset motor position.
Set the brick name of the robot.
Configure an input sensor on the robot.
Sets the output state of a motor on the robot.
Start execution of a previously downloaded program on the robot.
Stop execution of the currently running program on the robot.
Stop sound playback.
Last modified 4yr ago