Heliophagus
Joined: 30 Oct 2008 Posts: 4
|
Capacitive sensing using the PIC16F727 - problems |
Posted: Mon Nov 03, 2008 8:34 pm |
|
|
Greetings - a ccs c newbie here. I am attempting to get a PIC16F727 going with capacitive touch sensing using ccs c. Unfortunately running the wizard for this part crashes the wizard with a"list index out of bounds" error. Inserting the PIC16F727 include file manually shows (on viewing it) that it expects the chip to have a very sophisticated bridge-type PWM module, which it does not have, and unfortunately there is no mention of the all-important CPSCON0 and CPSCON1 registers, required for using capacitive touch sensing. So I suppose the question is, How do I write values to these registers directly, given that ccs c hasn't included them? The addresses are 108h and 109h, respectively. I tried searching the forum but couldn't find anything that addresses these issues (no pun intended). Thanks in advance for your patience, and for any constructive suggestions. |
|