On 11 Jul 2002 at 10:18, A.J. Tufgar wrote: Are you using a read-modify-write command? > Good day all, > Simple question about the TRIS reg. When I change the TRIS > reg direction for writing to and from an i2c bus I notice it changes > some of the other PORTB values that I'm not working with. Is it > possible to stop this? > > It changes pin 2 when modifying TRIS6. > > Any ideas? > > Thanks, > Aaron > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > * | __O Thomas C. Sefranek tcs@cmcorp.com |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41, 448.625 MHz ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads