Skip to content

I/O commands

The commands that switch the control box's isolated digital outputs and read its isolated digital inputs.

  • Pins 1 to 3 on each side. The robot reads and writes them every control cycle, in every mode.
  • An output keeps its level until a program changes it, or until the robot software stops (a service stop or restart, or its real-time loop ending on an error): then every output switches off. At start every output is off.
Command What it does Runs
set_digital_output Switch one of the control box's isolated outputs on or off. At once
get_digital_input Return whether one of the control box's isolated inputs is on. At once
beep Play one tone through the arm's playing motor. At once
play_tune Play a tune through the arm's playing motor. At once
play_sound Play a tune from the robot's sound library by its name. At once

Found a mistake on this page? Edit it on GitHub · Report it · Get help