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 - 27th May 2010 03:01
Number of Views: 10222
This is an effort to help users understand how the I2C command works by comparing it with SHIFTIN/SHIFTOUT. A serial EEPROM, 24FC1025 will be used in the example.
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