/* Vibe_PhotoResistor Turns on vibration motor once light levels drop below threshold The circuit: Vibration board to pin 3 and ground Photoresistor is attached to analog 2 */ int vibePin = 3;//number of the vibration board pin int photoPin= 2;//number of the photo-resistor pin int lightLimit=50; //the limit value that will trigger vibration int lightValue;// the value of the photo resisot void setup(){ // Serial.begin(9600); //used for callibration only pinMode(vibePin, OUTPUT);//assigns pin as output } void loop(){ lightValue= analogRead(photoPin);//read analog pin value if(lightValue