In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: change updating I2C port (line 336) bank I2CM ;1 ; Select Master I2C bank mov w,I2CM_port_buf ;1 and w,#%00000011 ;1 ;keep current SDA and SCL direction or w,#%00000100 ;1 ;pin2 is input mov !i2c_port,w ;1 ; Update the I2C port with the buffered port data regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=85672#m86343 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)