Controll touchscreen Fez Cobra


I have Fez Cobra and a 4.3 TFT screen with 4 wire touchpanel, connected to touch screen pins.

Now i wont to read the touch panel, but in the examples I see use of windows etc, but that is not what I wont.

I just want an small programm that can read the value of the touch screen, how can i do so?

kind regards

See the Microsoft.SPOT.Touch namespace especially the Touch class. You need to provide an object (that implements IEventListener) to the Initialize method.

Thank you for information