User:Inge Hoonte/clapping2 arduino

From XPUB & Lens-Based wiki
< User:Inge Hoonte
Revision as of 17:19, 1 November 2010 by Inge Hoonte (talk | contribs) (Created page with "Experimented with the pause between two tones first, but maybe not the right route to go for (i=0; i<12; i+=1) { if (pat[i] == 'x') tone(speakerPin, 440, 40); ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Experimented with the pause between two tones first, but maybe not the right route to go

for (i=0; i<12; i+=1) {
       if (pat[i] == 'x') tone(speakerPin, 440, 40);
       if (pat[i] == ' ') delay(20);
       delay(thedelay);