Code for a miniature inverted pendulum robot running on a PIC w/bluetooth to PC