In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Johnson Rod wrote: righto jon, i commented that line out and changed my code to this thus fixxing my problem but why did it happen in the firstplace. is it because i wasn't leaving RA as pullups? to answer your question i suppose i didnt want the extra power consumption of sinking pullups for an initialization or once a lifetime dipswitch read. Start: TRIS_A = $F PLP_A = $0 TRIS_B = $00 TRIS_C = $FF rb.6 = 0 alarmActuated = ~ra.0 delay = ~ra ' PLP_A = $F. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=99039#m99051 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)