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 5 matches
CCS Forum Index
Author Message
  Topic: PWM signal program
lxc032

Replies: 2
Views: 5505

PostForum: General CCS C Discussion   Posted: Fri Jul 29, 2011 2:39 pm   Subject: PWM signal program
My code is listed as follows.



#include <18f4331.h>
#device adc=10
#use delay(clock=4000000)
#fuses HS,NOWDT,NOPROTECT,NOLVP,NOBROWNOUT,NOPUT,MCLR,BORV27,HPOL_HIGH,LPOL_HIGH,T1S ...
  Topic: PWM signal program
lxc032

Replies: 2
Views: 5505

PostForum: General CCS C Discussion   Posted: Fri Jul 29, 2011 10:37 am   Subject: PWM signal program
Hi everyone. I'm developing a PWM dimming program using PIC18F4431. There are two LED strings in my circuit. Everything is working except that when the duty cycle of one of the LED strings achieves 10 ...
  Topic: ADC IN PWMMING
lxc032

Replies: 3
Views: 6515

PostForum: General CCS C Discussion   Posted: Mon Jul 18, 2011 3:46 pm   Subject: ADC IN PWMMING
Thanks for your program.

I'm trying to use a variable resistor to change the duty cycle of the PWM signals. Should I need to change the multiple of the "temp_res" ?
  Topic: ADC IN PWMMING
lxc032

Replies: 3
Views: 6515

PostForum: General CCS C Discussion   Posted: Mon Jul 18, 2011 3:09 pm   Subject: ADC IN PWMMING
Dear All,

I'm doing a project about PWM Dimming using ADC. I'm using a variable resistor to do ADC but the dimming effect is not obvious. My code is shown as follows.



#include <16F877A.h ...
  Topic: Problem of using PIC16F877A
lxc032

Replies: 3
Views: 5323

PostForum: General CCS C Discussion   Posted: Tue Jul 12, 2011 10:17 am   Subject: Problem of using PIC16F877A
Dear All,

I'm doing a project about PWM DIMMING using PIC16F877A,

I have two problems.
(1) How can I generate a phase shift between two LED strings?
(2) Following is the code of my project. Ho ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group