Quote Originally Posted by Meriachee View Post
Hi folks,

I've got a 12f675 with a very simple piece of code to flash 2 leds. It won't start. THere's power, it programs fine and everything appears to be fine - except.

Do I need to put some kind of define at the top to tell it specifically to not use MCLR?
This is what I've got at the top:

@ device pic12F675,intrc_osc_noclkout,wdt_off,mclr_off,prot ect_off

CMCON = 7
ANSEL = 0

The compile fails at the define.

It's something dumb, it always is......
Gary
At least it compiles now.

Awhile back someone had a similar problem. After 40 post the problem was solved - bad port on computer. http://www.picbasic.co.uk/forum/showthread.php?t=6160

Being that everything worked on one machine but not another and the simple test did not work, I think I would now look at the machine.