looks wrongOSCCON = %11111111 'SET INTOSC TO 32MHZ
OSCCON = %11110000 'SET INTOSC TO 32MHZ would be more appropriate assuming int osc and pll
porta.x = y on a 12f1840@32mhz is just asking for trouble use lata.x=y
looks wrongOSCCON = %11111111 'SET INTOSC TO 32MHZ
OSCCON = %11110000 'SET INTOSC TO 32MHZ would be more appropriate assuming int osc and pll
porta.x = y on a 12f1840@32mhz is just asking for trouble use lata.x=y
Bookmarks