Clapping music with Arduino

From XPUB & Lens-Based wiki
Revision as of 19:23, 18 October 2010 by Michael Murtaugh (talk | contribs)

Arduino!

void setup()   {                
  pinMode(8, OUTPUT);
  for (int i=0; i<1000; i++) {
    digitalWrite(8, HIGH);
    delay(1);
    digitalWrite(8, LOW);
    delay(1);
  }
}

void loop () {}

change the argument to the delay...