Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Problema con pantalla LCD

(you are viewing a thread; or go back to list of threads)

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
Tue Nov 23 2021, 15:31:40
(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é
Wed Nov 24 2021, 03:38:35
(no subject) (by Esteban)
Muchas gracias José.
Probare a ver si puedo hacerme con ello.
Wed Nov 24 2021, 14:09:35
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):