Originally Posted by Atom058
Hi Atom,
First thing, try these instead of the line above.
These should fix your problem.Code:@ DEVICE pic12F675, INTRC_OSC_NOCLKOUT @ DEVICE pic12F675, WDT_ON @ DEVICE pic12F675, PWRT_ON @ DEVICE pic12F675, MCLR_OFF @ DEVICE pic12F675, BOD_ON @ DEVICE pic12F675, CPD_OFF @ DEVICE pic12F675, PROTECT_OFF
Second thing, GP3 is an input-only pin. Never goes high.
----------------------
Bookmarks