Arduino Error: Where have i gone wrong in this simple and extremely small amount of code to receive the above error message? I cannot figure it out.
int ledPin = A0;
int bumpPin = A1;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(bumpPin, INPUT);
}
void loop() {
digitalRead(bumpPin);
if (bumpPin == HIGH);
digitalWrite(ledPin,HIGH);
}else{
digitalWrite(ledPin,LOW);
}