Author |
Message |
Topic: PIC16F1705: CCP Function not working [SOLVED] |
ufarooq
Replies: 11
Views: 26552
|
Forum: General CCS C Discussion Posted: Tue Sep 23, 2014 4:09 am Subject: PIC16F1705: CCP Function not working [SOLVED] |
@FrankM @PCM programmer
The CCS header file for this family doesn't have the peripheral select option. So the way to go would be to pass on bits to the xxxPPS module; refer to page 137 of the datas ... |
Topic: PIC16F1703 no system clock??? data sheet & compiler wron |
ufarooq
Replies: 4
Views: 9763
|
Forum: General CCS C Discussion Posted: Fri Sep 19, 2014 3:52 am Subject: PIC16F1703 no system clock??? data sheet & compiler wron |
Yes, it is typo in datasheet in this regard. But, also beware that the header file provided by CCS for this family doesn't have allowance for peripheral select option. I haven't heard back from either ... |
Topic: PIC16F1705: CCP Function not working [SOLVED] |
ufarooq
Replies: 11
Views: 26552
|
Forum: General CCS C Discussion Posted: Fri Jul 25, 2014 3:36 am Subject: PIC16F1705: CCP Function not working [SOLVED] |
@PCM Programmer Thanks your code works just fine!
@Ttelmah Yes, it does seem like a mess.
Regards, |
Topic: PIC16F1705: CCP Function not working [SOLVED] |
ufarooq
Replies: 11
Views: 26552
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 3:42 pm Subject: PIC16F1705: CCP Function not working [SOLVED] |
Thanks. |
Topic: PIC16F1705: CCP Function not working [SOLVED] |
ufarooq
Replies: 11
Views: 26552
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 3:14 pm Subject: PIC16F1705: CCP Function not working [SOLVED] |
setup_ccp1(CCP_PWM);
And this line is not commented out in the build that shows the error. Thanks in advance. |
Topic: PIC16F1705: CCP Function not working [SOLVED] |
ufarooq
Replies: 11
Views: 26552
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 2:57 pm Subject: PIC16F1705: CCP Function not working [SOLVED] |
Yes, you are right. Sorry about that. The one I wrote in my post is the plug in version. My complier version is
CCS PCM C Compiler, Version 5.025d, 1 23-Jul-14 04:50
Compile ... |
Topic: PIC16F1705: CCP Function not working [SOLVED] |
ufarooq
Replies: 11
Views: 26552
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 3:08 am Subject: PIC16F1705: CCP Function not working [SOLVED] |
Morning,
I’m trying to make a simple PWM program (to be expanded later), I’m using MPLAB X IDE v2.15 while my CCS C compiler version is 1.57. When compiling the following program I get the foll ... |
|