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 support@ccsinfo.com

Delay_ms + watchdog = PROBLEM!!!

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








Delay_ms + watchdog = PROBLEM!!!
PostPosted: Mon Aug 22, 2005 2:38 pm     Reply with quote

Hi all,

I am writing a program that needs to have a 100ms delay. I am using a 16F630 processor. the problem is that when the delay routine is running, the watchdog it timing out (it times out every 18ms). Is there a way to get around it?

Fabio
Ttelmah
Guest







PostPosted: Mon Aug 22, 2005 2:40 pm     Reply with quote

Hint, read the manual for the USE_DELAY function...

Best Wishes
valemike
Guest







PostPosted: Mon Aug 22, 2005 4:13 pm     Reply with quote

usafape wrote:
Duh!!!!

Don't you read the manual???

Thanks a lot!!!


Glancing at the "#use delay" description at page 61 tells you how to inject watchdog refreshing into the #use statement.

You have read it and have figured it out by now, haven't you???? Laughing
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