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

setup ccp2

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



Joined: 02 Oct 2004
Posts: 22
Location: cleveland

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

setup ccp2
PostPosted: Sun Jan 16, 2005 2:11 pm     Reply with quote

Using a PIC18f252. My compiler gives me the unidentified identifier error when compiling. set_up_ccp1 will compile ok. same for set_duty_pwmX.
set_duty_pwm1 is ok. set_duty_pwm2 won't work. Any insights?

thanks
Mark



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

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

PostPosted: Sun Jan 16, 2005 2:34 pm     Reply with quote

Post a small test program demonstrating the problem. Include the processor and compiler version. Make sure you use the code button when posting code.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jan 16, 2005 4:08 pm     Reply with quote

Quote:
set_duty_pwm2 won't work

The actual function name is different from the one given in your post.
I tested this line with PCH vs. 3.188 and it compiled without error:
Code:
set_pwm2_duty(0x55);
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