Code for MMA7660. But its resolution is so low that the accelerometer will not be useful here. I'll try to find the
MPU-6050 I have.
MPU6050 integrated

1) call MPU6050_set_angle_reference()
2) call MPU6050_get_angle() to get the degrees difference from the previously set reference

TODO: make set_angle_reference() write to EEPROM and set the angle after much averaging. This would
allow us to set "up" once and then keep using it.