Hi Guys,
Firstly let me thank you for looking at this thread.
Secondly, I dont believe in re-inventing the wheel.
OK...I found a project that more or less suited my requirements here
**broken link removed**. (I'm only using one port, a waste of i/o but like I said it works for me)
I'm using this controller to open and close an automated gate in a complex of 28 units, so at peak hours you can imagine the poor gate , it doesnt even get time to opn/close properly before the next person wants to enter/exit, this is working 100%.(The gate remains open from 06:45 - 08:30 and again 16:00- 17:30)
Now I have a problem on week ends, I dont want the gate to remain open for the peak periods (I now have a manual bypass switch that I activate on a Friday evening and a Sunday evening ...uuuurrrrrgghhhhh
I have tried to change the code so the unit only operates from mon-fri
to no avail. I have inserted my code as well as the original code, if one of you boffs would'nt mind having a look, (I have commented my code where I THINK I'M going wrong) a bit of advise would be greatly appreciated , as I have been trying everything "I KNOW" which is not too
much.
Once again THANKS guys, there are some real helpfull people out there.