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 - continuous problem with LCD on i2c

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

continuous problem with LCD on i2c (by Esteban)
Good night.
I need your help as I can't print on 2x16 LCD in arduino uno. They could send me some simple scheme (like I print hello) Continuously gives me failure and I no longer know if I do it wrong or gives me failure. I2c.rar in case something needs to be modified.
I have seen many tutorials and as I am Spanish I do not find out.
Thank you very much in advance.
Sun Nov 28 2021, 15:42:07, download attachment i2c.rar
(no subject) (by José)

I can't open your rar file with my software ; please send your files in zip format.

José
Mon Nov 29 2021, 02:56:13
(no subject) (by Esteban)
I have already compressed them into .zip
Please include me a small scheme for arduino one that works to do the tests myself. That way I know it's not the program's problem.
Thanks a lot.
Mon Nov 29 2021, 06:54:27, download attachment i2c.zip
(no subject) (by José)
Hi Esteban

The libraries you're using (zip file) are designed to work with some AtMegas (ie ATmega328 on your Arduino Uno board), but not under Arduino.

You should use these external libraries with Gcc compiler.

And which version of Ldmicro are you using ?
I2C doesn't work well with some versions...

BR
José
Mon Nov 29 2021, 15:05:11
(no subject) (by Esteban)
good night from Spain.
I am using LDmicro 5411 as it is the latest version.
Please explain to me how I should stack the libraries and if the LDmicro version is correct?
And where can I get the libraries I have to use?
And where do I have to copy or paste them to make it work?
The truth is that I am already going crazy.
Thanks a lot
Mon Nov 29 2021, 15:29:38
(no subject) (by OnosTech)
Hi,

Check this link. It might be helpful.

LDmicro I2C Liquid Crystal Display: https://www.youtube.com/playli...zNLFcHTFBDhxmHEtg3guwDSenhcxIf
Tue Nov 30 2021, 02:44:23
(no subject) (by José)
Hi Esteban

As Onos says, you may use LiquidCrystalI2C to manage an I2C LCD 16x2 under Arduino ; but it's not involved in ldmicro...

I2C doesn't work well with standard ldmicro versions ; you should use ldmicro32 version 5.5:

https://github.com/joegil95/LdMicro32

download AVRGCC-8.2 compiler too on the site.
Then read Howto-AVR.txt from the zip file to install and use the compiler and external libraries.

José
Tue Nov 30 2021, 03:29:38
(no subject) (by José)
You can also wait for the next release of LdMicro32 (coming soon) in which Arduino is back.

It'll generate for you a ready made arduino project...
Wed Dec 1 2021, 08:37:44
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):