Corrected the duration calculation on fixed DDS length.

This commit is contained in:
Stephen Olesen
2015-07-01 18:05:17 -06:00
parent 120442533d
commit 660fe0c602
2 changed files with 3 additions and 4 deletions

View File

@@ -8,9 +8,8 @@ void setup() {
pinMode(3, OUTPUT);
pinMode(11, OUTPUT);
dds.start();
dds.setFrequency(440);
dds.playWait(600, 3000);
dds.on();
delay(5000);
}
void loop() {