#include <Wire.h>
#include <hd44780.h>
#include <hd44780ioClass/hd44780_I2Cexp.h> // i2c expander i/o class header
hd44780_I2Cexp lcd;
const int nbCols = 20;
const int nbLignes = 4;
void setup() {
Serial.begin(115200);
int lcdAbsent = lcd.begin(nbCols, nbLignes);
if (lcdAbsent) {
Serial.print(" initialisation LCD - erreur ");
Serial.println(lcdAbsent);
hd44780::fatalError(lcdAbsent);
}
lcd.print("BONJOUR");
}
void loop() {}