The important part is to set the PORT (or LAT) registers BEFORE setting the TRIS registers to outputs.
Otherwise the pins will be in output mode for a period of time but the outputs aren't specified.
Published on - 5th December 2010 17:58
Number of Views: 9768
Hi,
Here's a short list of Frequently Asked Questions that should be of interest for most beginners. Don't hesitate to read them... they're not going to bite you
...
Re: Latest PIC support - PIC 18FxxQ20 family
Hi, Roger
Acetronics2 Today, 18:56May be you'd better ask to Charles here : https://support.melabs.com/forum/picbasic-pro-compiler-3-0-and-later/pbp3-picbasic-pro-3-0/page46
but don't rejoice too quickly...
Alain