| Command | Meaning | Usage |
| channel.msg | returns the last value read | command.msg |
| channel.send | sends a new value to the current channel | channel.send('test') |
| channel.post | posts to any channel | channel.post('/fred','test') |
| motor.run | Runs motor at speed 10 | motor.run(10) |
| motor.stop | Stops motor | motor.stop() |
| motor.run_to | Turns to a specific position | motor.run_to(pos = 10, port = 1, direction = 2) |
| motor.run_angle | Turns thru a specific angle | motor.run_angle(angle = 10, port = 1, direction = 2) |
| motor.position | Returns the motor position | motor.position |
| sensor.leftAngle | Returns the position of the left joystick | sensor.leftAngle |
| sensor.reflection | Returns the value of reflected light | sensor.reflection |
| There are a lot more methods and properties, just type sensor. and hit TAB in the REPL.
On motors, port is left(1) or right(2) and direction is CW (0), CCW (1), closest (2), or longest (3) |