Quote Originally Posted by Melanie View Post
pull down with a switch externally for minimum component count.

Try not to wire +5v to things like Switches and Sensors.
Hi Melanie

Thanks for your reply, could you please elaborate on a couple of things ?, I'm not sure what you mean about pulling down externaly with a switch ?,

What im trying to do is have a switch with just 2 wires connected that can work active high or active low. (without resistors)

This project is a kind-of one chip does everything scenario, and so I cant use resistors, will it damage my pic if i put +5 to a pin ?.

Thanks