Sine wave library for Arduino. Produces a sine signal and passes the output to a PWM pin.
Features:
- Produces a sine wave using a high sampling frequency.
- Uses a 50 microsecond sample time as the default.
- Uses pin 9 as the default output pin.
- Can produce two tones at once.
- Can produce very low frequencies (below 1 Hz, low enough to blink an led) by increasing the sample time.
- Can produce up to 10 KHz with the default sampling time.