Skip to content

Instantly share code, notes, and snippets.

#include <TimerOne.h>
const byte PWMDAC1pin = 9; // PWM DAC, only pins 9 and 10 are allowed
const byte PWMDAC2pin = 10; // example using second DAC
const byte period = 32; // for 8 bit DAC
byte commandByte;
byte noteByte;