Map joystick directions to a code for a tabletop servo-latch prototype, with dead-zone detection, edge-triggered input, and separate servo power.
A basic guide to wiring and controlling an SG90 servo motor with the standard Servo library, including smooth sweeping between angles.