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 6 matches
CCS Forum Index
Author Message
  Topic: Timer interrupt for delay
deepeshmishra

Replies: 6
Views: 9777

PostForum: General CCS C Discussion   Posted: Fri May 09, 2014 10:54 pm   Subject: Timer interrupt for delay
thank you ckielstra for your valuable advice, I am new to programming and i will improve it
  Topic: ECCP with 16f616
deepeshmishra

Replies: 4
Views: 6685

PostForum: General CCS C Discussion   Posted: Fri May 09, 2014 9:48 am   Subject: ECCP with 16f616
Thanks for reference asmboy, have code for and now it is workig well. I have only problem of resolution, for that also i am trying by increasing crystal frequency.
  Topic: Timer interrupt for delay
deepeshmishra

Replies: 6
Views: 9777

PostForum: General CCS C Discussion   Posted: Fri May 09, 2014 9:04 am   Subject: Timer interrupt for delay


void main(){

config();

off(); d5=11; dot_0=0; dot_1=1; dot_2=0; dot_3=0; HTO7S(0); r=0; s=0;



for(;;){



if((!inpu ...
  Topic: ECCP with 16f616
deepeshmishra

Replies: 4
Views: 6685

PostForum: General CCS C Discussion   Posted: Fri May 09, 2014 8:32 am   Subject: ECCP with 16f616
Thank you Ttelmah
My actual problem is I needed variable frequency in half bridge mode with
50 % duty cycle
  Topic: Timer interrupt for delay
deepeshmishra

Replies: 6
Views: 9777

PostForum: General CCS C Discussion   Posted: Fri May 09, 2014 8:20 am   Subject: Timer interrupt for delay
if(!input(TRIG))//////////SINGLE CYCLE AND TRIGGER
{
TIEMPO(); fw(); current_measure();HTO7S(s);
if(s>=r){ do{off(); d5=13;} delay_ms(3000); //wait delay
do{
rw();curr ...
  Topic: ECCP with 16f616
deepeshmishra

Replies: 4
Views: 6685

PostForum: General CCS C Discussion   Posted: Fri May 09, 2014 7:57 am   Subject: ECCP with 16f616
i have done half bridge pwm with timer 2 but because of timer2 being 8 bit timer i am not getting resolution can any one give me idea how to do this with timer 1 since it is 16 bit and in datasheet it ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group