Thread: Sharp Color 24Bit LCD Touch Screen... coding question.

  1. #1
    Registered User
    Join Date
    May 2011
    Location
    Toronto
    Posts
    20

    Sharp Color 24Bit LCD Touch Screen... coding question.

    What kind of coding do I use to operate a touch screen like this Sharp color 24 bit LCD? I want to input data, and display data with this. The back-lit LCD is kind of crude looking, I want sharp graphics.

    http://cdn.shopify.com/s/files/1/006...dium.jpeg?1527
    Last edited by RobertD; 05-15-2011 at 07:29 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Well finding actual technical specifications would be better than posting jpg files of what it looks like.

    And it would be programmed in much the same way as any other LCD (or indeed any other device).

    You read the specs, and you find out what messages (sequences of bytes) to send to it to make it do various things.
    Then you write simple wrapper functions around the more useful ones to say
    - goto a point on the screen
    - display a pixel
    - display a character.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Location
    TX
    Posts
    2,059
    Does it have an embedded microcontroller for controlling the display. If not then shop around for one and as noted start with the device specs.

  4. #4
    Registered User
    Join Date
    May 2011
    Location
    Toronto
    Posts
    20
    I'd like to program something like this...!
    May be a bit of an overkill for what I need though....

    HTC Incredible and EVO 4G to feature new maXTouch sensors – Android and Me

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Ok Robert, let me give you some idea what you're getting into, starting with what is essentially a replacement part...

    You will need to...

    1) Design some sort of microcontroller based hardware to drive the display.
    2) Design and implement imbedded code for the microcontroller.
    3) Come up with an interface to whatever host you plan to run it on.
    4) Write drivers for that interface to bridge between your microcontroller and host.
    5) Write a C library to communicate with your driver in some reasoned manner.
    6) Write your actual application software.

    So we're talking about everything from designing a case for it all the way to writing application software... and all steps inbetween.

    Does this sound like something you want to do?

  6. #6
    Registered User
    Join Date
    May 2011
    Location
    Toronto
    Posts
    20
    I'll try to buy a ready made unit that looks like a cell phone, or a gps, with programming guide.

    I realize now that just putting a touch screen over a display is quite a task.

    I think ready made programmable units can be found.

    That is probably a saner approach...



    Did find an interesting thread on the subject though...
    http://forum.atmel.com/forumdisplay....&family_id=701

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Finding the color of any pixel on screen
    By Kirdra in forum Windows Programming
    Replies: 3
    Last Post: 11-09-2007, 06:53 PM
  2. Touch Screen Monitor Program
    By EWTexas in forum C++ Programming
    Replies: 12
    Last Post: 09-18-2006, 02:17 PM
  3. How to change the color and clear the screen?
    By Lariumentiko in forum C++ Programming
    Replies: 6
    Last Post: 02-05-2003, 01:25 AM
  4. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM