Mcgee, Mark=C2=A0wrote: > > > I assume the toggle switch is a SPDT so each input=20 > > > can be connected to one of two lines? =C2=A0 > Yes, it is a SPDT, so I could just wire up +5v one side,=20 > and gnd the other, and not need the pull-down resistor? =C2=A0 > Can't hurt to put one in anyway though, just for the moment=20 > the switch goes 'floating'? =C2=A0I assume a capacitor won't be > able to help de-bounce things a bit? =C2=A0 With SPDT and Schmidt trigger PIC inputs you can build bounceless input by design ;-) > I'm using PIC16F628A=E2=80=A6=C2=A0 > I'm actually going to hook the switch up to 1.5v as=20 > an input to a 1.5v temperature module with LCD=20 > display (maplin FE33L), and share this input with > PIC, together with four 1.5v level data lines from the=20 > FE33 through a level shifter (1.5v-5v, actual IC TBD,=20 > but considering MAX3001E, but it's TSSOP packaging...),=20 > so I suppose it depends on the level-shifter's outputs=E2=80=A6 FE33's max speed is 1 measurement per second, so=20 clock at max is about 1 kHz, I think. At this speed you can use A/D inputs instead of the level shifter. Mike, just a suggestion. _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist