Akhil Mohan
Member level 2
- Joined
- May 13, 2011
- Messages
- 53
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,288
- Activity points
- 1,731
Hello All,
I have a 4-wire resistive touchscreen and have interfaced it with a PIC18F4550 uc. I am able to display the co ordinates on an LCD at this point of time. What I wanted to do is using this co-ordinates (0 to 1023) information to control a device to turn it ON. For eg, I would like to play a music clip recorded on APR9600 when I touch on a specific located on a touchscreen. The important point is I can only play a second clip after playing the first clip and if not the first clip is not played it displays an error and is conveyed to the user. For this I have to define the co-ordinates as a class say for clip 1,2,3 .. I am using HITech C complier and I am not sure how to implement this logic in MPLAB X. Please help me to implement this logic
Thanks and Regards,
Akhil
I have a 4-wire resistive touchscreen and have interfaced it with a PIC18F4550 uc. I am able to display the co ordinates on an LCD at this point of time. What I wanted to do is using this co-ordinates (0 to 1023) information to control a device to turn it ON. For eg, I would like to play a music clip recorded on APR9600 when I touch on a specific located on a touchscreen. The important point is I can only play a second clip after playing the first clip and if not the first clip is not played it displays an error and is conveyed to the user. For this I have to define the co-ordinates as a class say for clip 1,2,3 .. I am using HITech C complier and I am not sure how to implement this logic in MPLAB X. Please help me to implement this logic
Thanks and Regards,
Akhil