Most ismerkedek LCD kijelzők vezérlése Arduinoval témakörrel, és még elég zöldfülű vagyok benne
Egy olyan problémám lenne, hogy bekötöttem mindent ahogy kell, beállítom a kurzort a megfelelő helyre ennek ellenére 3. és 4. sorokban a kiírt szövegeknél elcsúszást tapasztalok, ez minek köszönhető?
Válaszokat előre is köszönöm!
Kód:
// include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 9, 8, 7, 6);
int tempRaise=18;
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 4);
// Print a message to the LCD.
}
void loop() {
lcd.setCursor(0, 2);
lcd.print("Jelenlegi ertek: ");
lcd.setCursor(0, 3);
lcd.print(tempRaise, DEC);
lcd.setCursor(2, 3);
lcd.print(" C/ora");
delay(1000);
}
