In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: To set the mode register on the SX48/52 you should use: MOV W,#$1F ' For the SX48/82 Write_TRIS is $1F NOT $0F MOV M,W MOV !ra,#%00000000 MOV ra,#%01010101 Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=122190#m122209 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)