The __TRIS macro expects two arguments a 8bit value and a port # between 0 and 7 What kind of problem were you having? Walter Banks ---------- > From: John A. Craft > To: PICLIST@MITVMA.MIT.EDU > Subject: __TRIS Macro > Date: Tuesday, September 23, 1997 3:20 PM > > Has anyone had any trouble using the __TRIS macro under MPC? It's in the > .h file for the pic (16c56), but the compiler notes a syntax error when I > try to use it, and the TRISA, TRISB is gone. > > Thanks > John C