Skip to content

Instantly share code, notes, and snippets.

@basicxman
Created January 2, 2012 17:31
Show Gist options
  • Select an option

  • Save basicxman/1551461 to your computer and use it in GitHub Desktop.

Select an option

Save basicxman/1551461 to your computer and use it in GitHub Desktop.
# 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