User:Darija Medic/assignment: Difference between revisions
Darija Medic (talk | contribs) No edit summary |
Darija Medic (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
void loop() {} | void loop() {} | ||
< | </source> |
Latest revision as of 08:47, 2 November 2010
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() {}