All fine here... Depending your osc and config fuses setting it may work or not.
Make sure you're using a 20Mhz Crystal (and a PIC16F628-20), MCLR pin set to Vdd, and try that one and post your results
Code:
@ __CONFIG _HS_OSC & _MCLRE_ON & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
DEFINE OSC 20
PORTA=0
TRISA=0
CMCON=7
Start: TOGGLE PORTA.3
PAUSE 500
GOTO START
Last edited by mister_e; - 5th February 2007 at 20:22.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks