internet0_final

You can view videos of my final box in action as a singular entity and in an array with these links from youTube
singular | multi

Even with the light sensor sensitivity set to 950, the box was collecting too much light and creating sound. You can view the script below:

/* LOOP */
if(touchSensor==HIGH){
rotation = !rotation;
delay(20);
}
if ((millis()-lastBlink)>100) {
lastBlink = millis();
lampState = !lampState;
digitalWrite(lampPin,lampState);
}
if(soundSensor==HIGH){
if (rotation) {
rotateClockwise(25);
} else {
rotateAntiClockwise(25);
}
}

if(lightSensor==HIGH){
playRandomNote(100);
}

break;
}


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply