That is only partly correct!HIGH and LOW do not require any port setup. They set as output automatically, see the manual.
You don't need the ANSELs.
HIGH/LOW manages the TRIS register for you but it does NOT manage ANSEL, CMCOM or any other registers which may prevent a digital pin from functioning as an output.
/Henrik.
Bookmarks