So, I’m a beginner, and this code may seem a bit stupid, but i need help. The error message “expected primary-expression before ‘)’ token” keeps showing up, and I don’t know what it means. Someone help please. Thanks.
Code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(11,9,6,5,4,3);
const int buttonPin = 2;
int buttonState = LOW;
int done = 0;
void setup() {
Serial.begin(9600);
pinMode(buttonPin, INPUT);
lcd.clear();
//lcd.print(“despacito”);
}
void loop() {
//int buttonState = LOW;
buttonState = digitalRead(buttonPin);
//lcd.print(buttonState);
if(digitalRead(buttonPin) == LOW && done == 0)); {
int buttonState = 1;
lcd.print(“despacito”);
done + 1;
}
if( digitalRead(buttonPin) == HIGH) {
lcd.clear();
done = 0;
}
}