i'm a absolute beginner and trying to program a code.... but i don't know how to fix some errors please kindly help me...
switch_button.ino (1.97 KB)
i'm a absolute beginner and trying to program a code.... but i don't know how to fix some errors please kindly help me...
switch_button.ino (1.97 KB)
Why are you using Arduino IDE 1.0.5? What does the library #include <Button.h>
do?
What is this?
buttonState = digitalRead(PBin1);
if (buttonState == HIGH)
Serial.println(buttonState);
{
// turn LED on:
digitalWrite(PBout1, HIGH);
}
What is supposed to happen and what doesn't happen?