User:Darija Medic/assignment
< User:Darija Medic
Revision as of 08:47, 2 November 2010 by Darija Medic (talk | contribs)
char pat[] = "xxx xx x xx ";
void setup() {
int patlen = strlen(pat);
for (int r=0; r<12; r++) {
for (int p=0; p<patlen; p++){
if (pat[p] == 'x') {
tone(13, 500, 10);
}
delay(200);
}
}
}
void loop() {}