Jump to content
Electronics-Lab.com Community

ilie

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. If you want to help me, i have some questions. I want to scroll just a single line of a 20x4 display. on this line i want to write a string , then a value and at least another string. The last string will be change by a condition like this if (percent1 > 50) { LCD.setCursor(0,1); LCD.print("Moisture S1: "); LCD.print(percent1); LCD.print("%"); LCD.print(" "); LCD.print(" Irrigation sistem OFF"); LCD.print(" "); } else { LCD.setCursor(0, 1); LCD.print("Moisture S1: "); LCD.print(percent1); LCD.print("%"); LCD.print("Irrigaion sistem ON"); LCD.print(" "); "Moisture S1: " / percent1 / "%"/ " Irrigaion sistem OFF" or "Moisture S1: " / percent1 / "%"/ " Irrigaion sistem ON" Thanks a lot!
×
×
  • Create New...