Items Needed: Code: #include "LCD.h"#include <LiquidCrystal_I2C.h>#define I2C_ADDR 0x27 // <<----- Add your address here. Find it from I2C Scanner#define BACKLIGHT_PIN 3#define En_pin 2#define Rw_pin 1#define Rs_pin 0#define D4_pin 4#define D5_pin 5#define D6_pin 6#define D7_pin 7LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); lcd.begin(20,4); lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE); […]
Daily Archives: June 4, 2025
1 post