Add tilt sensor input and limit rotation to 90 degrees in either direction