#define LED 2
#define Switch 14
int value = 0;
void setup() {
// put your setup code here, to run once:
pinMode(LED, OUTPUT);
pinMode(Switch, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
value = digitalRead(Switch);
digitalWrite(LED, !value);
}