Probably a nicer interface for anyone who wants to play with this :)
0: https://github.com/samhenrigold/LidAngleSensor
0: https://github.com/samhenrigold/LidAngleSensor