SparkFun SerLCD (LCD-14074) - Firmware Update problem

Have questions about a SparkFun product or board? This is the place to be.

Moderator: phalanx

Post Reply
Joe0x7F
Posts: 2
Joined: Sun Jan 13, 2019 11:28 pm

SparkFun SerLCD (LCD-14074) - Firmware Update problem

Post by Joe0x7F » Mon Jan 14, 2019 12:00 am

Hello,

My display: SparkFun 20x4 SerLCD - Black on RGB 3.3V (LCD-14074)

When I try to compile the ".\OpenLCD-master\firmware\OpenLCD\OpenLCD.ino" program from https://github.com/sparkfun/OpenLCD, I get the fatal error message: "'setupLCD' was not declared in this scope".

I am using the instructions given here:
"Firmware Update"
https://learn.sparkfun.com/tutorials/av ... -guide/all


Why is this not compiling?

Thanks!

Joe

fourstix
Posts: 4
Joined: Mon Sep 18, 2017 10:24 am

Re: SparkFun SerLCD (LCD-14074) - Firmware Update problem

Post by fourstix » Sun Jan 20, 2019 2:15 pm

Hi Joe,

I ran into the same problem. I did a google search, and there seems to be a bug introduced into the Arduino IDE around 1.8.5 that can cause multiple tabs to sometimes not compile correctly because the tabs aren't always compiled in the right order. The fix is said to be in the IDE 1.9 beta.

As a work around, I added the declarations to the header file. (That shouldn't be necessary if the files were compiled in the proper order, but it doesn't harm anything. In fact in the bad old days, that was best practice.)

Good luck,
Gaston

Post Reply