I am trying to get a battery operated pic to run for 8 hours... then sleep for 16.
Now.. i've tried 'sleep 57600' but it isn't anywhere close to 16 hours... it is WAY OFF...
then i read in a PBP book from amazon that the sleep command really means periods of 2.3 seconds.. so i tried 25043, which would have been off by 8 seconds.. but i would have been fine with that... but it's WRONG too...
Does anyone have any pointers??
Thanks...
PS: PBP on a 12F675
Bookmarks