Hey everyone, I have been trying to setup an LCD screen with Arduino Uno Wifi 2.
I am using the Arduino Uno Wifi Rev2.
It says the register emulation is ATMEGA328.
I am using the LiquidCrytal_I2C library, here is my code:
WARNING: library LiquidCrystal_I2C claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
If this library is not compatbile, which one is?
I am not seeing anything on my screen. I connected my GND to GND my SCL and SDA to the SCL and SDA on the arduino above the 8..13 pins and the VCC to 5V.
Should I worry about this error or is it easily ignorable?
Thanks
It appears the library you are using is not compatible with your existing Arduino Uno. There are several incompatible libraries available. Personally I found one that works then put it in the sketch folder. If I use the one with the IDE it is incompatible.
There is unfortunately no such thing as "THE LiquidCrytal_I2C library", there are multiple of them
The only way to know is to try or analyse the library.
The library is probably old and no longer maintained by the author. You might want to consider to use another one. I don't know if Bill Perry's one supports your board, but it's often considered as the better / best one. Can't think of the name now, HD44740 or so.
It is the hd44780 library and it is available via the IDE library manager. If the hd44780 library is not compatible, Bill (@bperrybap) will probably tell you why and may tell you how to fix it.
I do suggest that you post (or have this moved) in the Displays section. I think Bill is more likely to see it there.
The hd44780 library should work on that board.
It does use the MegaAVR core which does have some few issues given it has changed some of the Arduino core library APIs.
I don't have that board, but I did compile an hd44780_I2Cexp example for that board and it compiled and linked ok which means it should work since the library only uses core APIs and the bundled Wire library.