Lol, it just increments/decrements the index for a lookup table that is a pre-generated sine wave
to send to PWM.