Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4745

PIC16F1828, "Symbol not previously defined (CCPTMRS0)", need help!

$
0
0
:confused: PIC16F1828 has register for assigning the Timer2's to CCP modules named: CCPTMRS0 (that's a zero at the end).
I'm trying to set it using:
CCPTMRS0 = %00000110

But this line is throwing these errors in compilation:
Error[113] c:\pbp\pbppi14e.lib 583: Symbol not previously defined (CCPTMRS0)
Error[113] c:\pbp\pbppi14e.lib 918: Symbol not previously defined (CCPTMRS0)

Does this have to do with which bank to find CCPTMRS0?

PIC16F1828 datasheet shows CCPTMRS0 in bank5.

I'm using PicBasicPro2.6c

Thanks in advance!

Viewing all articles
Browse latest Browse all 4745

Trending Articles