YOUR ACCOUNT
CONTACT
ABOUT MODULAR ROBOTICS
FORUM
BLOG
CUBELETS
CODE
CODE API Reference
Functions
General
get_block_value()
inverse()
led_off()
led_on()
maximum()
minimum()
set_block_value()
weighted_average()
Timing
clear_interval()
clear_timeout()
set_interval()
set_timeout()
wait()
Cubelet Type Specific
Distance
get_distance()
Rotate
set_rotate_direction()
toggle_directions()
Bar Graph
clear_bar()
set_bar()
set_bar_graph()
set_binary()
Brightness
get_brightness()
Drive
set_drive()
set_drive_direction()
toggle_directions()
Speaker
set_speaker()
Flashlight
set_flashlight()
Knob
get_knob()
Temperature
get_temperature()
Variables
Constants
BACKWARD
FORWARD
Globals
block_type
block_value
neighbor_data
Cubelet Types
BAR_GRAPH_CUBELET
BATTERY_CUBELET
BLOCKER_CUBELET
BRIGHTNESS_CUBELET
DISTANCE_CUBELET
DRIVE_CUBELET
FLASHLIGHT_CUBELET
INVERSE_CUBELET
KNOB_CUBELET
MAXIMUM_CUBELET
MINIMUM_CUBELET
PASSIVE_CUBELET
ROTATE_CUBELET
SPEAKER_CUBELET
TEMPERATURE_CUBELET
Structure
act()
loop()
sense()
setup()
think()