What about this, if I am following you.
All you want to do is turn on one circuit for a minute and then turn on another for a minute.
The circuits are all ready built and working. I will assume they are separate and if power is applied they will run. Why do you want the LDRs connected to the timing PIC?
Have the power of a tracking circuit driven by a relay or MOSFET/transistor.
Now you have two pins as out puts from the timing PIC. One for each tracker.
When a PIC pin is set either HIGH or LOW it will stay that way until it is changed.
Try it with an LED.
Code:
START:
HIGH PORT?.? ' A Tracker POWER
LOW PORT?.? ' B Tracker POWER
PAUSE 60000
LOW PORT?.? ' A Tracker
HIGH PORT?.? ' B Tracker
PAUSE 60000
GOTO START
I know...I am missing something.
Bookmarks