Change 'Use Timer 2 Only' from compile option to software option

This commit is contained in:
nick6x
2017-07-28 10:52:11 -07:00
parent 2e3955fa80
commit 6f4d8a93c5
3 changed files with 47 additions and 32 deletions

View File

@@ -16,6 +16,7 @@ void setup() {
digitalWrite(PWM_PIN, LOW);
dds.start();
dds.startPhaseAccumulator(false);
dds.playWait(600, 3000);
dds.on();
//dds.setAmplitude(31);
@@ -38,4 +39,4 @@ ISR(ADC_vect) {
}
dds.clockTick();
}
#endif
#endif