Okay I have a VERY strange issue.
If I set both PORTA.0 and PORTA.1 high, compile and program the chip -- Nothing works.
Here is an example:
-------------
@ DEVICE pic16F676, MCLR_OFF
LED1 VAR PORTA.0
LED2 VAR PORTA.1
loop:
HIGH LED1
HIGH LED2
PAUSE 500
Goto loop
---------------
The strange thing is, if I write the equivalent program in GCBasic, it seems to work fine. What am I missing here? Is there an environment setting that I don't know of?
Bookmarks