A small program to control a stepper motor including the reading of digital switches with debouncing.