Trying to figure out the color lcd shield tutorial

No matter which example code I try to upload I get a compiling error. I have the correct board and port selected. Projects that do not use the LCD library do not have problems. [This is the tutorial I’m working with.

This is the error generated by the ZanyCircles example:

In file included from C:\arduino-1.0.1-windows\arduino-1.0.1\hardware\arduino\cores\arduino/Arduino.h:213,

from ZanyCircles.cpp:19:

C:\arduino-1.0.1-windows\arduino-1.0.1\hardware\arduino\variants\standard/pins_arduino.h:43: error: expected unqualified-id before numeric constant

[Link to example code](https://pastebin.galador.org/show/Pe3HUXWuDGhwIncwjDmy/)](http://www.sparkfun.com/tutorials/286)

I tried using some of the older IDEs for Arduino. 1.0 had the same problem, but 0023 will compile.

Which board are you using currently with this shield?

I’ve tried it on a Mega and an Uno. The last visible row is stuck, everything is upside down compared to what the sample code is supposed to display, and the blues and reds are swapped. This happens with both boards.

Wait but it is compiling and you can display something?

It means you have a slightly different EPSON screen. There are many different variations of this screen, and I am not sure if that library accounts for it.

Could you try this one:

https://github.com/TCWORLD/gLCD-Library/downloads

And let me know what the screen looks like? (if there are inverted colours, etc.)

I am trying to make my library support as many of the screens as possible.

In this one, you can get rid of the stuck line by changing the origin (part of the init() call, which is explained in the examples)

I apologize for neglecting to provide information, but it is a Phillips screen.

Your library seems to work with the newest IDE. [Here is a picture of your test pattern. Thanks!

TCWORLD:
It means you have a slightly different EPSON screen. There are many different variations of this screen, and I am not sure if that library accounts for it.

Could you try this one:

https://github.com/TCWORLD/gLCD-Library/downloads

And let me know what the screen looks like? (if there are inverted colours, etc.)

I am trying to make my library support as many of the screens as possible.

In this one, you can get rid of the stuck line by changing the origin (part of the init() call, which is explained in the examples)

](http://dl.dropbox.com/u/55601872/s/lcdtest.JPG)

Mahcks:
I apologize for neglecting to provide information, but it is a Phillips screen.

Your library seems to work with the newest IDE. [Here is a picture of your test pattern. Thanks!
[/quote]

Glad it works. Just so you know, the test pattern should be centred in the screen (an equal width border around all sides). You can achieve this by adjusting the init() call.

graphic.Init(x,y, … , … , … )

Where the x and y represent an offset of the (0,0) point. Simply adjust the two numbers until it is central. Once you have found it, you just need to use those two numbers whenever you use that particular screen.](http://dl.dropbox.com/u/55601872/s/lcdtest.JPG)