Hi All,
I'm newbies on programming in PIC C, I'm looking some help on creating the code that looping two tasks where one task will be execute after 3 days, another one task will be execute after 3 hours. The ideal like below:
Loop3d:
Reach to 3 days?
no, go to Loop3d.
yes, set the portA to high.
Loop3h:
Reach 3 hours?
no, go to Loop3h
yes, set portA to low
go to Loop3d
Thanks.