Go Down

Topic: Sainsmart 12864 LCD (Read 2 times) previous topic - next topic

MBEller99

Does anyone have a code for this LCD that is up to date with Arduino 1.0.2? I bought one off of Amazon, and (didn't come with its own shiftout cable) and apparently there are no official libraries for this display. Any that I can find online cause Arduino 1.0.2 to blow up with error messages.

olikraus

#1
Dec 06, 2012, 12:44 am Last Edit: Dec 06, 2012, 08:32 am by olikraus Reason: 1
Quote
Does anyone have a code for this LCD that is up to date with Arduino 1.0.2?

Yes

http://code.google.com/p/u8glib/

Oliver (Author of u8glib)

Edit: Link

thorathome

I just bought a sainsmart 12864 from Amazon and was lucky enough to stumble onto Brad's *duino blog at
http://bradsduino.blogspot.com/2012/11/sainsmart-12864-graphic-lcd-display.html
He got me started with the 12864 in just a few minutes. 

Copy his real simple script and wire your Arduino to the 12864 with 5 female-to-male jumpers as his blog indicates. 
Download the u8glib from the link Oliver provided, and store it in your Arduino library folder. 

I just ran the code and it worked.  It got me started. 

Thanks, Oliver, for posting the link to (your) fabulous u8glib.  I'm exploring it now, finding some very nice touches. 

Go Up