This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |