// LCD MANAGEMENT WITH https://github.com/duinoWitchery/hd44780/tree/master
#include <Wire.h>
#include <hd44780.h> // main hd44780 header
#include <hd44780ioClass/hd44780_I2Cexp.h> // i2c expander i/o class header
hd44780_I2Cexp lcd;
const int LCD_COLS = 20;
const int LCD_ROWS = 4;
void setup() {
int result = lcd.begin(LCD_COLS, LCD_ROWS);
if (result) {
Serial.print("LCD initialization failed: ");
Serial.println(result);
hd44780::fatalError(result);
}
lcd.setCursor(0, 0);
for (int r = 0; r < LCD_ROWS; r++)
for ( int l = 0; l < LCD_COLS; l++)
lcd.print(r);
}
void loop() {}