#include <LiquidCrystal.h>
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2);
Serial.begin(9600);
lcd.setCursor(0, 0);
lcd.print("Humedad: ");
}
void loop() {
int hum = analogRead(A0);
lcd.setCursor(0, 1);
lcd.print(hum);
Serial.print("Humedad: ");
Serial.println(hum);
delay(3000);
}