OTHER SETTINGS that affect portF and Port G - are disabled
also tried just seeing if each pin on the PORT F and G was able to see the clock pulses presented to each input pin , and seems to see both 0 and 1 on all ports , so not a solder/ board issue ,
but any measurement using Pulsin or RCtime wont work ???
also ensured the ADCON0 is disabled during the test
yep this one has me stumped !!
Code:
APFCON = %00000000 ' All Default - No change when using SPI use SDO1 = RC2 , bit6=0
CPSCON0 = $00 ' Capcitive Sensing Control Disable
CPSCON1 = $00 ' Disable CSC - used with CPSCON0
CM1CON0 = $00 ' Disable / Clear comparator 1
CM1CON1 = $00 ' Used with CM1CON0
CM2CON0 = $00 ' Disable / Clear comparator 2
CM2CON1 = $00 ' Used with CM2CON0
CMOUT = $00 ' Disable Comparitors output register - used only if comparitor on
SRCON0 = %00000000 ' Disable Latched Outputs
SRCON1 = %00000000 ' Used with SRCON0 register
DACCON0 = $00 ' Disable D/A
DACCON1 = $00 ' Disable D/A - used with DACCON0
LCDCON = $00 ' Disable LCD module
LCDPS = $00 ' Disable LCD module & LCD Phase Register
LCDCST = $00 ' Resistor lader contrast control
LCDREF = $00 ' Disable LCD voltage refernace control
LCDSE0 = $00 ' LCD segment enable register
LCDSE1 = $00 ' LCD segment enable register
LCDSE2 = $00 ' LCD segment enable register
LCDSE3 = $00 ' LCD segment enable register
LCDSE4 = $00 ' LCD segment enable register
LCDSE5 = $00 ' LCD segment enable register
LCDRL = $00 ' LCD Ref ladder enable / disable
Bookmarks