Andy Sutton
2009-11-18 12:11:53 UTC
Hi,
I'm having trouble getting my head around programming a pic (from scratch)
Basically i want it to do :-
Loop
look at 3 inputs (not analogue)
compare with the inputs that were stored in the last loop around
if they are the same wait say .5 sec
then loop again
if the inputs are different then output (for a relay) for .5 sec
this project, i thought would be fairly easy or so i thought.
Anyone willing to help me write a program if it is that easy.
Any help would be most appreciated
Andy Sutton
I'm having trouble getting my head around programming a pic (from scratch)
Basically i want it to do :-
Loop
look at 3 inputs (not analogue)
compare with the inputs that were stored in the last loop around
if they are the same wait say .5 sec
then loop again
if the inputs are different then output (for a relay) for .5 sec
this project, i thought would be fairly easy or so i thought.
Anyone willing to help me write a program if it is that easy.
Any help would be most appreciated
Andy Sutton