ffsdfds.ino:1:23: error: invalid suffix "A" on integer constant

18 void loop() { 19 lcd.setCursor(0, 1); 20 lcd.print(millis()/1000); 21 int sensorVal = analogRead(sensorPin); 22 Serial.print("Sensor Value: "); 23 Serial.print(sensorVal); 24 float voltage = (sensorVal / 1024.0) * 5.0; 25 Serial.print(", Volts: "); 26 Serial.print(voltage); 27 Serial.print(", degrees C: "); 28 float temprature = (voltage - .5) * 100; 29 Serial.print(temprature); 30}

This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno" ffsdfds.ino:1:23: error: invalid suffix "A" on integer constant

Hi, welcome to the forum.

You probably have set sensorPin to an analog input, like A0 or A1 or so. And somehow, the compiler does not know that. Perhaps you typed it wrong, or you might have selected the wrong Arduino board. Can you show us the whole sketch between code tags ?