Pages: [1]   Go Down
Author Topic: Sparkfun color LCD shield question, possible problem.  (Read 2092 times)
0 Members and 1 Guest are viewing this topic.
Reading, Berkshire
Offline Offline
Full Member
***
Karma: 2
Posts: 132
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

I just setup my LCD screen and it is only displaying this...

I have tried a couple of example sketches but nothing seems to change this display.

I haven't used screens before, is it naffed or shall I keep trying to get it kicking out some Serial data?
Logged

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

There could be something wrong with your code and/or your connections, but how would we know?

Don
Logged

Reading, Berkshire
Offline Offline
Full Member
***
Karma: 2
Posts: 132
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This is the code and the setup.

Code:
#include <ColorLCDShield.h>
LCDShield lcd;

void setup(){
 
  lcd.init(EPSON);  // Initializes lcd, using an EPSON driver
  lcd.contrast(40);  // 40's usually a good contrast value
  lcd.clear(TEAL);  // oooh, teal!
  }
 
  void loop(){}

Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 80
Posts: 1730
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you try my library:
https://github.com/TCWORLD/gLCD-Library

There are quite a lot of different controllers in these LCDs and I am trying to make as many as possible work with one single library. If my library doesn't work for that display, then either the display is damaged (possible), or you have found yet another variant of the display and I will try to help you adapt the driver to make it work (also possible).

If you choose the latest version from the downloads page (3.0).
Logged

~Tom~

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I also have this problem. Using the suggested library gives me a blank screen instead of the garbled rubbish.

Very frustrating. I'm about to chuck this shield in the spare parts bin and get another. That's a first for something I bought from SparkFun.
Logged

Reading, Berkshire
Offline Offline
Full Member
***
Karma: 2
Posts: 132
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you tried switching the epson to phillips in the code?
Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 80
Posts: 1730
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you get a blank screen it *usually* means you have the wrong driver. If you tried EPSON in your first attempt and that didn't work, try PHILLIPS_0
(Side note: It looks the same as mine in terms of connector colour, and mine is PHILLIPS, but then you can't really tell which is why my library supports many variants of both phillips and epson).
« Last Edit: October 10, 2012, 04:53:45 pm by Tom Carpenter » Logged

~Tom~

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you tried switching the epson to phillips in the code?

That did it! Thanks.

As well as that I apparently needed to completely remove and reconnect power. If in doubt, powercycle.

Tom, I'm using your library. It's easily the easiest to install since it can be dropped straight into the libraries folder. Is there a reason for having all versions in separate folders in the git repository though? It's preferable to be able to clone a repo straight into the libraries folder but that's not possible when it's laid out that way. It also means there is no useful file history.
Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 80
Posts: 1730
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you go to the downloads page (button which says downloads to the top rifght of the repository), they are all seperated into individual zip files, one for each version.
All the old versions are there because that is how they are stored on my computer in the git folder.
Logged

~Tom~

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very good job Tom,

Your gLCD  library is the only that works with my Arduino Uno, IDE ver 1.0.5  and Sparkfun color lcd shield !

Many thanks   smiley-grin

Didier 
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks gLCD worked for me too, you are a star!
Logged

Pages: [1]   Go Up
Jump to: