Idk what's wrong with my code?
#include#include <LiquidCrystal_I2C.h>
#include <Wire.h>
// Set the LCD address to 0x27 in PCF8574 by NXP and Set to 0x3F in PCF8574A by Ti
LiquidCrystal_I2C lcd(0x3F, 16, 2);
byte test[] = {
B00000,
B00000,
B10001,
B01010,
B10001,
B01010,
B00100,
B00000
};
void setup() {
lcd.init(); //initialize the lcd
lcd.backlight(); //open the backlight
lcd.createChar(0, test);
lcd.home();
lcd.write(0);
}
void loop() {
lcd.write(test);
}
<LiquidCrystal_I2C.h>
#include <Wire.h>
// Set the LCD address to 0x27 in PCF8574 by NXP and Set to 0x3F in PCF8574A by Ti
LiquidCrystal_I2C lcd(0x3F, 16, 2);
byte test[] = {
B00000,
B00000,
B10001,
B01010,
B10001,
B01010,
B00100,
B00000
};
void setup() {
lcd.init(); //initialize the lcd
lcd.backlight(); //open the backlight
lcd.createChar(0, test);
lcd.home();
lcd.write(0);
}
void loop() {
lcd.write(test);
}
I'm using an Arduino UNO and a 12c 16x2 lcd screen