Page 1 of 1

SparkFun SerLCD (LCD-14074) - Firmware Update problem

Posted: Mon Jan 14, 2019 12:00 am
by Joe0x7F

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, I get the fatal error message: "'setupLCD' was not declared in this scope".

I am using the instructions given here:
"Firmware Update" ... -guide/all

Why is this not compiling?



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

Posted: Sun Jan 20, 2019 2:15 pm
by fourstix
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,