Closed dhiltonp closed 11 years ago
analogWrite, commonly used for pwm, doesn't let you modify the frequency from the ~490Hz default.
to implement hardware blinking / strobing, might be worth looking at direct use of the atmega's timer/counter peripherals, as per http://www.mythic-beasts.com/~markt/ATmega-timers.html
I've figured out the stroboscope stuff at this point, as well as a partial integration with the library. It requires manual strobing, not PWM. That said, it looks like we will want to look into adjusting the TCCR1B value (PWM timer for the main LED).
Stroboscope code works, but the stroboscope program's spin interface is rather clunky.
investigate pwm settings