Shop OBEX P1 Docs P2 Docs Learn Events
Java code for ezLCD-002 - LCD Module with Touch Screen — Parallax Forums

Java code for ezLCD-002 - LCD Module with Touch Screen

BobValBobVal Posts: 48
edited 2005-11-14 00:58 in General Discussion
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.yeah.gif

BobVal

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-11-12 23:06
    I have not heard of any such class.

    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
  • BobValBobVal Posts: 48
    edited 2005-11-13 01:08
    Thanks, I've seen that Basic source.

    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
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-11-13 03:08
    Take a look here

    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
  • Piper984Piper984 Posts: 74
    edited 2005-11-14 00:46
    Hi Bob,

    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!
  • BobValBobVal Posts: 48
    edited 2005-11-14 00:58
    Thanks.·

    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
Sign In or Register to comment.