Uses interrupts for more consistent timing
Added a sine generator

Does something that resembles a sine wave, but amplitude seems too low.