#include <LiquidCrystal.h>
const int rs=12, en=11, d4=10,d5=9, d6=8,d7=7;
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
void setup() {
lcd.begin(16, 2);
Serial.begin(9600);
}
void loop() {
lcd.clear();
lcd.print("HELLO NIVA&PHARA");
lcd.setCursor(0, 1);
int sensorValue = analogRead(A0);
int newSensorValue = map(sensorValue, 0, 1024, 0, 101);
Serial.println(sensorValue);
lcd.print(newSensorValue);
delay(15);
}