Arduino code for reading Sparkfun 6DoF IMU and running a motor controller to balance furniture on two legs.