Java code for ezLCD-002 - LCD Module with Touch Screen
BobVal
Posts: 48
Hello:
Has anyone written any or knows of any (would be willing to buy a set
of classes) Java code for ezLCD-002 Touch LCD Module
("http://store.earthlcd.com/s.nl/sc.7/category.297/it.A/id.4233/.f").
I want to use the·Javelin to control the Ez CD and handle the
touches.
Thanks in advance.
BobVal
Has anyone written any or knows of any (would be willing to buy a set
of classes) Java code for ezLCD-002 Touch LCD Module
("http://store.earthlcd.com/s.nl/sc.7/category.297/it.A/id.4233/.f").
I want to use the·Javelin to control the Ez CD and handle the
touches.
Thanks in advance.
BobVal
Comments
I searched that site and found this:
http://www.earthcomputer.com/basicstamp.html
That lists the available commands. Looks like all you need
is an Uart to send commands. Bitmaps are stored on the LCD.
regards peter
Post Edited (Peter Verkaik) : 11/13/2005 11:12:27 PM GMT
I am a·c++ programmer but haven't done anything as of yet with Java and that is why I choose the Javelin for my home project.
Just want to see if anyone had led the way.· But I guess I will write the class and post it when I am done.
Again thanks.
Bob Val
http://groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/peripheral/display/
classes Area.java, Display.java and VT100_SerialDisplay in particular.
Display.java is an abstract class for text displays. You could extend this to add graphics
and color.
Area.java allows you to define an area inside a display that in itself is treated as a display. You
can use this to write within·a rectangular area of your LCD.
VT100_SerialDisplay is used to communicate with Hyperterminal or other VT100 terminal.
regards peter
Also saw your note on the ezLCD forum. Just to let you know: The ezLCD communicates with any PIC via serial commands. So there is really no reason why you couldn't port the sample basic stamp code to the Javelin. I am using ezLCD001's with a BS2P40 based project and I am very happy with the performance of the unit. Perhaps a wee bit pricey, but I don't really have the skill-set to develop my own controller board for the Sony display that they use, so I'll take it and be happy my projects looks so cool.
Regards!
I am just about done with my· ezLCD· class.
Now all I have to do is wait for the actual hardware to show up so that I can debug (hopefull not much of that required) the code.
BobVal