Hi Mark,

This sounds like it might be a "read-modify-write" problem.

Maybe you could try using INPUT instead of HIGH to turn off PORTA.4.

<pre><b>INPUT porta.4 'turn off LED 2</b></pre>