Still would like to learn why I had that problem.

Because actually when you run code over and over again that includes HIGH it's pulsing the output pin again and again based on the instruction clocks square wave?

But when you call HIGH just once and leave the output pin alone, it's a steady DC that is stable.


start

If porta.0 = 0 then
high portd.0
endif

do other stuff

If porta.0 = 0 then
high portd.0
endif

do other stuff

If porta.0 = 0 then
high portd.0
endif

goto start

Not good when a capacitor is on the output?