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

Search found 1 match
CCS Forum Index
Author Message
  Topic: setup_wdt() placement in code
Jerry_ch701

Replies: 1
Views: 3233

PostForum: General CCS C Discussion   Posted: Sun Sep 14, 2008 11:34 pm   Subject: setup_wdt() placement in code
Why does the setup_wdt command have to be in the while loop, let alone main()?
Does turning on the WDT with setup_wdt(wdt_on) reset it's timer?



#include <12F683.h>

#FUSES NOWDT ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group