#include <LiquidCrystal_PCF8574.h>
LiquidCrystal_PCF8574 lcd(0x27); // set the LCD address to 0x27 for a 16 chars and 2 line display
float ADC_0;
float sensor;
void setup() {
// put your setup code here, to run once:
lcd.begin(16, 2);
delay(200);
lcd.setBacklight(255);
lcd.print("Sensor: ");
}
void loop() {
// put your main code here, to run repeatedly:
ADC_0 = analogRead(A0);
sensor = ADC_0;
lcd.setCursor(8, 0);
lcd.print(sensor, 1);
lcd.print(" ");
delay(500);
}