Touch screen not working.

m new to arduino using arduino mega
m working with resistive touchscreen project, the problem is that touchscreen library is not working.
what i want is that i should be able to divide the touchscreen area in rectangle and by pressing the rectangle i should be able to make LED high or low