void setup() {
Serial.begin (9600);
pinMode (5, INPUT_PULLUP);
pinMode (3, OUTPUT); // put your setup code here, to run once:
}
void loop() {
bool tasterstatus = digitalRead (5) ;
tasterstatus = !tasterstatus ;
digitalWrite (3, tasterstatus);
Serial.println (tasterstatus);// put your main code here, to run repeatedly:
}