In SX Microcontrollers, SX/B Compiler and SX-Key Tool, originator99 wrote: Can I use PLP_C to hold an input high when floating until GND is present on a switch? I want to use a 4 spst dip switch to set an address, but don't have room to add pullup resistors and was hoping this would do the job. TRIS_C = %11110000 'RC.0, 1, 2 ,3 to inputs PLP_C = %00001111 'hold inputs RC.0 - RC.3 high, but can be forced low with switch ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=146108 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)