Arduino code to control the rotational position of a disk.