I need pic 18f452 long delay time code. We need one hour delay time code input port b /output port d . controller continue while _________________ Seamax Enterprise Engineering Services
1 hour delay is super easy.
Create simple ISR with 1 second heartbeat aka software RTC.
Set a flag if 1 hour, again aka software RTC
Code is given in the code library..and it works !
nazim
Joined: 23 Apr 2011 Posts: 2 Location: Pakistan
long time delay code
Posted: Sun Apr 24, 2011 9:36 am
I have tried to make the long time delay code but it did not worked.
portd output delay 1 hour 18f452 but while continue _________________ Seamax Enterprise Engineering Services
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Sun Apr 24, 2011 11:44 am
Can you show us the code you tried and tell us what it seemed to do? Also telling us the version of your compiler often helps. _________________ The search for better is endless. Instead simply find very good and get the job done.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum