I am currently using an ATMEGA1280 with a TM12864L-2 (128x64 glcd) which from everything i have been reading is a clone of the ever popular KS0108. I have checked my wiring against pin-out tables a thousand times over, and tried a bunch of pre-written sketches for the KS0108 but no dice. Whenever i run the "bigdemo" sketch i keep getting errors when i try to validate the sketch such as, and not limited to, " 'TM12864L-2'was not declared in this scope " in reference to the third line in....
PX_HOUR = PX_MINUTE = PX_SECOND = x_centre ;
PY_HOUR = PY_MINUTE = PY_SECOND = y_centre ;
TM12864L-2_MEGA.DrawCircle (x,y r+3,BLACK) ;
i have been reading and reading and reading trying to figure out what is wrong with the code. When i got the kit the lcd was hooked up and displaying the big demo sketch. Unfortunately, not knowing what i was doing, i unplugged all the wires, hooked up a single led and started playing with the "blink" sketch without saving the sketch that was pre-loaded and running the lcd. So if anyone has any insight as to what i need to do to get something on this lcd other than a screen full of solid pixels, PLEASE help me. : )
~ Dan9287