LOL - it does the same thing if I comment out the settings
Code:
'****************************************************************
'Port settings
'CCP1CON = %00001100 '
'CCP2CON = %00001100 '
TRISA = %00000111 'set PORTA as all output apart from 0,1,2
TRISB = %00000011 'set PORTB as all output apart from 0&1
TRISC = %01000000 '
T2CON = %00000100 ' Timer2 ON + 1:1 prescale
SCLpin var PORTC.3 ' RTC pin - clk
SDApin var PORTC.4 ' RTC pin - data
'****************************************************************
so it appears to be ignoring the code altogether
Bookmarks