Welcome to the user wiki for MELabs PICBASIC Compiler.
Where posts are made in the forum that contain useful code examples or other information, community members can promote them to the WIKI area to preserve them in this managed, indexed area.
Content on this site is submitted by users and is used at your own risk.
Re: I/O Pin status during startup
The important part is to set the PORT (or LAT) registers BEFORE setting the TRIS registers to outputs.
tumbleweed Today, 20:01Otherwise the pins will be in output mode for a period of time but the outputs aren't specified.