CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

pic 18f452 delay time code

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
nazim



Joined: 23 Apr 2011
Posts: 2
Location: Pakistan

View user's profile Send private message Send e-mail Visit poster's website

pic 18f452 delay time code
PostPosted: Sat Apr 23, 2011 12:39 pm     Reply with quote

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
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Apr 23, 2011 2:00 pm     Reply with quote

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

View user's profile Send private message Send e-mail Visit poster's website

long time delay code
PostPosted: Sun Apr 24, 2011 9:36 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Apr 24, 2011 11:44 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group