Created
January 2, 2012 17:31
-
-
Save basicxman/1551461 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Access child peripherals with :: | |
| # peripheral::child_peripheral::another_peripheral | |
| # Access events with the dot operator | |
| # peripheral.periodic | |
| # Write to a peripherals property value with the assignment operator | |
| # peripheral = value | |
| left_joystick::x_axis.periodic: | |
| left_motor = this | |
| left_joystick::x_axis.halt: | |
| run_sensor_check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment