update screen after detecting touch

hello everyone,

i've a question. Maybe a noob question.. :S

i'm [u]using a mcufriends 2.4' touch display.[/u]

I've it up and runnig with a little modifications on the uTFT library.
Testing it with the examples from UTFT works GREAT!

i want to show and increase a counter on a touch display using UTFT-library and TouchScreenLibrarymaster-library.
The increasing works fine and printing the interface once works fine to.
But i want to update the interface. After a update nothing happends. A few updates more there is still nothing and then the screen 'crashes'.

i've added a serial dump and my code.

Can you guys help me?

greetz.

the good interface and the crash.

serial log.txt (1015 Bytes)

screen_use.ino (1.56 KB)

  1. You should probably use the UTouch library, it's meant to work with the UTFT library. (link: Electronics - Henning Karlsen)

  2. Check the power supply.

  3. Try using Serial.print() statements to see if the Arduino is at least detecting the touch.

  4. Check the connections.

  5. See if the connections match up to the software pin specifications.

  6. Try cooling it down (by that I mean the temperature).

  1. i don't use the UTouch library because my screen sends his data on 4 pins. it isn't using tclk, tcs, tdin, tdout, irq

  2. i'm using USB and a external powersupply. both the same fault.

  3. in my code i've a few serial.print() statements.. the data is correct.

  4. the connections are oké. because i can run other examples correct.

  5. Everything works fine except updating the screen.

  6. i think it's a fault in my code. not the hardware.