Hi,thanks for the help,
Sorry my english is very bad,Yes what I mean is three states Switch is:
Closed = Normal State,
Open = Alarm State,
Between the wires is a Shortcircuit = Sabotage
I want that the PIC recognize when a 10 K is in the loop or not,when is not a 10 K then is alarm ,when i have on the port ~0 Ohm then is sabotage and when I have open loop then is Alarm.
BigWumpus what commands I need to measure the voltage,what you mean with 0,3 and 0,7?
Thanks a lot !!!
I hope you can help me.
Bye Pesti.
Bookmarks