1 out of 1 members found this post helpful.
Did you find this post helpful?

|
Re: Infrared HPWM setup

Originally Posted by
richard
any Alias that refers to a LATx reg cannot be safely used with HIGH,LOW,TOGGLE or any other pbp high level command the sort of bugs it can introduce vary from chip to chip and can be difficult to understand , don't do it
Blue var lata.2 '; an alias to a lata
high blue ; will not work safely
Though this is the recommended way to control output pins. I suppose this was before LAT registers showed up?
Ioannis
Bookmarks