Arduino + Lilypad + LED Light

 

Here is the BLINK light up

 

Next Step

We are going to connect with Pressure Switch

 

img_5385img_5386img_5387img_5388img_5391

 

img_5392

The Sensor Value code

int sensorValue;

void setup() {
pinMode(10,OUTPUT);
pinMode(A2,INPUT);
Serial.begin(9600);
}

void loop() {
sensorValue = analogRead(A2);
analogWrite(10,sensorValue);

Serial.println(sensorValue);

delay(10);

}