Balancing robot for dummies

#aasanchez
It's already supported by the Arduino IDE, just type atan2(y,x). See http://www.arduino.cc/en/Math/H

#rob4white
Yes drift is still a issue in a modern gyroscope. You will see it, if you rotate the gyroscope. I don't think it will drift when motionless - or at least not very much!