Code written to load onto telosB devices to control an inverted pendulum wirelessly.