CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Simple application mtouch with 16f887 ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
unisaco



Joined: 03 Dec 2012
Posts: 6

View user's profile Send private message Yahoo Messenger

Simple application mtouch with 16f887 ?
PostPosted: Sun Dec 30, 2012 1:46 am     Reply with quote

Hi all,
I'm very confuse about mtouch function on PIC 16F887. Although reading many document from microchip, I'm not successful.
Base on my knowledge, 16F887 support mtouch function, but when I find out about how to use mtouch function, I cannot find any simple sample code mtouch with 16f887. So now, somebody can help me to build a simple application mtouch (just each touch, toggle LED signal).
Is there any CCS library for mtouch 16f887 (like touchpad(), touch_hit() ...) Question
It's very important with me, pls help me if you know or give me some working sample code
Many thanks to you ^^~ Wink
Ttelmah



Joined: 11 Mar 2010
Posts: 19467

View user's profile Send private message

PostPosted: Sun Dec 30, 2012 2:55 pm     Reply with quote

Have you looked in the manual?....
#USE TOUCHPAD.

However it requires a chip that has the CSM. I don't think the 887 has this.

Have a look at this thread:
<http://www.ccsinfo.com/forum/viewtopic.php?t=49242&highlight=cvd>

This is CVD touch sensing, which can be done by any chip with an ADC, but will need you to tweak the timings, and decide what to use as a threshold.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group