Like this: #byte port_b = 6 #use fast_io(b) // NOT port_b... set_tris_b(0); port_b = value; Dale -- Hallo, this is Linus Torvalds and I pronounce Linux as Leennuks. Hallo, this is Bill Gates and I pronounce 'crap' as 'Windows'. On Thu, 8 Nov 2001, MATTHEWS, DEAN (D.) wrote: > So do I need to use #byte port_b=6 and #use fast IO(port_b) at the top > of the program and then after the set_tris_b(0); type in port_b=value > in the main program? -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads