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 3 matches
CCS Forum Index
Author Message
  Topic: 0% PWM issue on 16F1827 - [SOLVED]
ve4edj

Replies: 3
Views: 5537

PostForum: General CCS C Discussion   Posted: Thu May 08, 2014 10:10 am   Subject: 0% PWM issue on 16F1827 - [SOLVED]
Problem solved. Thanks @stinky!!!
  Topic: 0% PWM issue on 16F1827 - [SOLVED]
ve4edj

Replies: 3
Views: 5537

PostForum: General CCS C Discussion   Posted: Thu May 08, 2014 10:04 am   Subject: 0% PWM issue on 16F1827 - [SOLVED]
Don't remember if this is well documented in the manual. The PWM is 10 bit in this family. set_pwmx_duty(0) only clears the MSB of the duty register. The lower two bits could still be hi. Check yo ...
  Topic: 0% PWM issue on 16F1827 - [SOLVED]
ve4edj

Replies: 3
Views: 5537

PostForum: General CCS C Discussion   Posted: Thu May 08, 2014 9:27 am   Subject: 0% PWM issue on 16F1827 - [SOLVED]
I am trying to fade LEDs connected to a PIC16F1827 on and off based on a time read from a RTC chip (MCP79410). But at the moment, I am having an issue with 0% PWM not turning the LED off (it gets fair ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group