|
|
View previous topic :: View next topic |
Author |
Message |
unisaco
Joined: 03 Dec 2012 Posts: 6
|
Simple application mtouch with 16f887 ? |
Posted: Sun Dec 30, 2012 1:46 am |
|
|
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() ...)
It's very important with me, pls help me if you know or give me some working sample code
Many thanks to you ^^~ |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19539
|
|
Posted: Sun Dec 30, 2012 2:55 pm |
|
|
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 |
|
|
|
|
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
|