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 4 matches
CCS Forum Index
Author Message
  Topic: 16f877a with pwm
timm02

Replies: 4
Views: 7036

PostForum: General CCS C Discussion   Posted: Mon Feb 11, 2008 2:54 am   Subject: 16f877a with pwm
I've do changes to my code, and hopefully it is right.
I've put the #use fast_io and change the variable A1_pressed to be TRUE, actually the pin A1 is on-off button.

Here is the new code:
#use fa ...
  Topic: 16f877a with pwm
timm02

Replies: 4
Views: 7036

PostForum: General CCS C Discussion   Posted: Tue Feb 05, 2008 9:29 am   Subject: fast_io
i do make mistake as i put 50 for pwm value, i've corrected the code by replacing it to 125 as 50% from duty cycle.

but i'm a bit confusing about fast_io. do you mean that i need not to set tris in ...
  Topic: 16f877a with pwm
timm02

Replies: 4
Views: 7036

PostForum: General CCS C Discussion   Posted: Tue Feb 05, 2008 1:11 am   Subject: 16f877a with pwm
hi..
i need a help to recheck my programming. i need to produce output frequency at 5kHz. the problem is when i build the pic 16f877a into circuit, the led is not blinking.

Here the code:

#incl ...
  Topic: switch restart
timm02

Replies: 9
Views: 7482

PostForum: General CCS C Discussion   Posted: Sat Jan 19, 2008 2:49 am   Subject: set button
hi..im using 16f877a and im currently develop a current generator that can produce current at 4 different frequencies.
i've chosen to have 2 button which for single frequency=50kHz and the other butt ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group