Here is a little test program which illustrates the issue, zero function to it.
I'm using MPLAB 8.80 and CCS 4.124.
The compiler says, 'Invalid pre-processor directive' and 'Undefined identifier INT_RTCC'
I have looked in the datasheet and this part appears to have interrupts, as this was the reason for this error in a previous topic. I'm a little stumped.
Try #INT_TIMER0 instead. CCS have been trying to wean folks off the old style RTCC definitions for ages. The reason for this is probably as many PICs have a true RTC peripheral these days. Though not the PIC12F18740.
RF Developer
Wipster
Joined: 09 Oct 2008 Posts: 16
Posted: Wed Nov 30, 2011 11:10 am
Ahha yep, golden. Cheers for that! Going to go over the .h with a fine tooth comb and check everything next time, would have spotted the lack of RTCC.
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