Pages: [1]   Go Down
Author Topic: Problems with 40x4 LCD.  (Read 808 times)
0 Members and 1 Guest are viewing this topic.
Kielce, Poland, Europe, Earth
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello! I've got 40x4 LCD, so I conected it to my arduino, using liquid crystal library. Firstly, LCD was showing weird characters, so I changed library to liquid crystal 440, but when I compile my program I get this error:
Code:
In file included from sketch_jul12a.ino:1:
C:\Users\Macu\Desktop\arduino-1.0.5-windows\arduino-1.0.5\libraries\Liquidcrystal440/LiquidCrystal440.h:95: error: conflicting return type specified for 'virtual void LiquidCrystal::write(uint8_t)'
C:\Users\Macu\Desktop\arduino-1.0.5-windows\arduino-1.0.5\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'
And now my lcd with liquid crystal shows only 2 white lines ;(
Any ideas, what I'm doing wrong? Maybe arduino needs external power source, to power up that big lcd. My lcd model is:
Code:
ABC0440004B04-BIW-R-01
Btw. sorry for my bad English, I'm trying!
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 32
Posts: 4260
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
...so I changed library to liquid crystal 440 ...
Did you use the version that was updated for Arduino V1.0+?

To get a copy start here:--> http://code.google.com/p/liquidcrystal440/ and follow the Downloads link to get to the latest version.


Don
Logged

Kielce, Poland, Europe, Earth
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yup, I was using Liquid Crystal v1.00, as well. I tried with old LQ440 (did't work) and 1.00. It all didn't work for me ;(
Logged

Israel
Offline Offline
Sr. Member
****
Karma: 5
Posts: 281
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

All you need to do is change void to size_t to the write method and it should compile.
I suggest that you also add 'return 1;' to the end of the method as well.
Logged


Pages: [1]   Go Up
Jump to: