hie guys, i nedd your help to add THE PROGRAMATION LCD in my project code.
i want to make the irrigation project, so i have the code for this project, i need to add de LCD code.
this is my code:
#define SP_VALUE 95
int bomba = 8;
void setup() {
Serial.begin(9600);
pinMode (A5, INPUT);
pinMode (8, OUTPUT);
// put your setup code here, to run once:
}
void loop(){
int sensor = analogRead(A5);
if (sensor > SP_VALUE){
digitalWrite (bomba, HIGH);
// put your main code here, to run repeatedly:
}
else{
digitalWrite (bomba, LOW);
}
Serial.print("valor do sensor de humidade do solo: ");
Serial.println(sensor);
delay(1000);
}