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

header file is searched which contains delay_cycle

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



Joined: 11 Oct 2005
Posts: 4

View user's profile Send private message

header file is searched which contains delay_cycle
PostPosted: Wed Oct 12, 2005 5:25 am     Reply with quote

I used a MPLAB program and C18 compilear but my program does not recognized some commands which delay_cycle.....

I find a header file which must haver delay_cycle...
Ttelmah
Guest







PostPosted: Wed Oct 12, 2005 5:44 am     Reply with quote

This is a ccs group, not C18. Delay_cycles is a CCS function. You can write something yourself, a 'cycle' in this context, is just one machine instruction, so a macro, which substitutes a 'nop' for every count in the 'delay_cycle' function, will give the same effect. If you want to find whether C18, has such a function already defined, then ask in a C18 group.

Best Wishes
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Oct 12, 2005 6:44 am     Reply with quote

For C18 look in delays.h file. They have several functions but none work as well as the CCS functions as far as being "user friendly".
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