¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

LiquidCrystal_I2C compiling issue with the March 2016 QST DDS VFO


 

I am posting a string of?e-mails (I tried to clarify some parts that I wrote.)?with Jack W8TEE?that may help if your software is not compiling due to a LiquidCrystal_I2C error.

Thanks Jack for the tip!
I downloaded NewliquidCrystal_1.3.4.zip, installed as NewliquidCryatal library?in the IDE?and now the program compiles-now on to building some hardware...

My LCD is apparently a version 1, with address lines A0, A1 and A2?on lower right side of the small ?back pack board, set to address?0x27. ?After taking out the old LiquidCrystal_I2C library and then adding in its place?the NewliquidCrystal library to the program?I commented out all the added?.h files that were not red and kept those that were red.? The program now compiles and appears to work, see attached picture.

?
Bud, K1LC?
?
On 05/11/16, Jack Purdum<jjpurdum@...> wrote:
?
Hi Bud:

You're not the first person to have problems. The issue is that there are a number of I2C LCD libraries and not all of them work. I use the LCD from Terry King (he was the tech ed on my C book):





He has a number of examples and also where to go to download the proper library. You will have to get rid of any previous I2C LCD libraries that share the same directory name, as it will confuse the compiler. You might also try some of his examples for the 2x16 LCD. Indeed, reading everything he has on that page is worthwhile.

Give that a try and let me know...

Jack, W8TEE



From: "lcolclough@..." <lcolclough@...>
To: jjpurdum@...
Sent: Wednesday, May 11, 2016 8:23 PM
Subject: DDS VFO LiquidCrystal_I2C compiling issue

?
Hi Jack,
Thanks for the great article in Mar 2106 QST and book "Arduino Projects for Amateur Radio"
Re: the QST article, I am not sure you are the person to ask but if not please point me in the right direction.
I am an analog/RF engineer and not too swift on software!
I did get past the rotary.h vs Rotary.h problem but have not been able to get the program to compile due to errors associated with the LCD.
The Bitbucket.org download site has a number of I2C files and all result in?compiling errors such as POSITIVE not declared in this scope or ../wire/wire.h not found.? Some files result in many?lines of issues.
After reading Peter Marks blog I tried his approach of including some non *_I2C files,? I2C0.h, I2C0.cpp, LCD.h and LCD.cpp, in the LiquidCrystal_I2C library. Still no luck.
I am doing? something incorrectly for sure ...any hints would be greatly appreciated.
Thanks
Bud, K1LC





Join [email protected] to automatically receive all group messages.