Go Down

Topic: Shift Register Libraries for LCD Displays (Read 8 times) previous topic - next topic

floresta

Quote
And you live in which great state Don?

I didn't name it, but I guess it should have been York v01 or York1664

Don

roachburn

Will this work with an arduino UNO R3? I tried the shift LCD but I got a couple of errors when I tried to compile it.


In file included from sketch_mar07a.cpp:1:
C:\Program Files\arduino-1.0\libraries\ShiftLCD/ShiftLCD.h:116: error: conflicting return type specified for 'virtual void ShiftLCD::write(uint8_t)'
C:\Program Files\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'
 
Thanks a bunch for any advice on getting this to work.
"I have not failed. I've just found 10,000 ways that won't work."
Thomas A. Edison

celem

LiquidCrystal_SR from New-LiquidCrystal is the best library choice.
Get it directly from the author: https://bitbucket.org/fmalpartida/new-liquidcrystal/overview

Other good reading: http://code.google.com/p/arduinoshiftreglcd/ - contains important info regarding the circuit design.

and, yet more: http://www.3guys1laser.com/blog-cheap-arduino-2-wire-lcd-display-0


roachburn

I got it working. The circuit was fine. Something was wrong with my IDE, so I re-installed it then was able to get the liquidCrystal_SR library to work. I still get the same errors for the shiftLCD library but the other works fine for my purpose. Thanks for sharing this  code, and also pointing these libraries out to us. I have been trying to get this 595 to run my LCD for weeks. Here is my schematic I made with Fritzing for anyone who is interested.



"I have not failed. I've just found 10,000 ways that won't work."
Thomas A. Edison

roachburn

How do I go about powering everything off another voltage supply? Would this setup work using either a wall adapter or battery, as long as I connect all the grounds?


"I have not failed. I've just found 10,000 ways that won't work."
Thomas A. Edison

Go Up