Description
Features
- 16 characters × 2 rows
- Onboard PCF8574T I2C
- Common address:
0x27
- 5V operating voltage
- Adjustable contrast through RX1
- Four pins: GND, VCC, SDA and SCL
Test Code
#include <Wire.h>
#include <Robolark_LCD_PCF8574.h>
Robolark_LCD_PCF8574 lcd(0x27);
void setup() {
#if defined(ESP8266)
Wire.begin(4, 5);
#elif defined(ESP32)
Wire.begin(21, 22);
#else
Wire.begin();
#endif
lcd.begin(16, 2, false);
lcd.backlight();
lcd.printLine(0, "ROBOLARK");
lcd.printLine(1, "LCD Working!");
}
void loop() {}