RaspBar

mod6_LCD1602_I2C

Oct 16th, 2021 (edited)
811
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Name: mod6_LCD1602_I2C.ino
  3.  * Date: 2021/10/14
  4.  * Author: fsc
  5.  * Version 1.0
  6.  * https://wokwi.com/arduino/projects/312097610958635585
  7.  */
  8.  
  9. #include <LiquidCrystal_I2C.h>
  10.  
  11. LiquidCrystal_I2C lcd(0x27,16,2);  // LCD-I2C-Adresse auf 0x27 setzen (16 Zeichen, 2 Zeilen)
  12.  
  13. void setup()
  14. {
  15.   lcd.init();                      // LCD initialisieren
  16.   // Anzeigetext und Textposition festlegen.
  17.   lcd.backlight();
  18.   lcd.setCursor(0,0);
  19.   lcd.print("Themenwoche:");
  20.   lcd.setCursor(0,1);
  21.   lcd.print("18.10.-22.10.21");
  22. }
  23.  
  24. void loop()
  25. {
  26. }
RAW Paste Data