Problema con pantalla LCD (by Esteban)
Buenas tardes.
Estoy utilizando la última versión de LCmicro y quisiera imprimir en una pantalla LCD 2x16 mediante I2C (SDA en pin A4 y SCL en pin A5) y todo ello en un Arduino UNO.
Por más ejemplos que me descargo e intento usar soy incapaz de que me imprima ni lo más mínimo.
Por favor me podría mandar alguien un ejemplo sencillo.
Muchas gracias
(no subject) (by José)
Hi Esteban
You may have to modify the I2C address of your 16x2 I2C lcd.
To do it, open the files "I2CLib.c" in the libraries folders and try :
#define LCD_I2C_ADR 0x20
or
#define LCD_I2C_ADR 0x27
These addresses are the most commonly used.
Rebuild the project and try the values until it works.
Beware that you have 2 files to modify, one in the original libraries directory (for future projects), and one in the subfolder AVTRGCC\lib of your ld file's location (for the current project).
BR
José