Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using the co-ordinate information from a resistive touchscreen to play music

Status
Not open for further replies.

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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top