Source code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(8,9,10,11,12,13);
float temp;
int tempPin=A0;
int potPin=A1;
int value;
int para;
void setup()
{
lcd.begin(16,2);
}
void loop()
{
temp = analogRead(tempPin);
temp = temp*0.48828125;
para = analogRead(potPin);
lcd.home();
lcd.print(“liquid=””);
lcd.print(temp);
lcd.print("*C");
lcd.setCursor(0,1);
lcd.print(“limit=”);
lcd.print(value);
lcd.print("*C");
delay(1000);
if (para>=300 && para<=350)
{
value = 30;
delay(1000);
}
else if (para>350)
{
value = value - 1;
delay(1000);
}
else
{
value = value + 1;
delay(1000);
}
}
Error message:
sketch_jul20a.ino:21:3: error: stray ‘’ in program
sketch_jul20a.ino: In function ‘void loop()’:
sketch_jul20a.ino:21:23: error: expected ‘)’ before ‘u201d’