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: delay function using timer 1
giaanthunder

Replies: 7
Views: 17812

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 5:43 am   Subject: delay function using timer 1
thanks Mike Very Happy
  Topic: delay function using timer 1
giaanthunder

Replies: 7
Views: 17812

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 5:17 am   Subject: delay function using timer 1
thank you so much Very Happy
I fix this code for hours but dont realize the problem was i, a very basic mistake Very Happy
the idea using interrupt flag is so good.
  Topic: delay function using timer 1
giaanthunder

Replies: 7
Views: 17812

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 4:21 am   Subject: delay function using timer 1
1/ im using protues to flash 8 led
2/ while(get_timer1()!=1000); make the pic delay until the timer1 reach 1000 (1000us=1ms) b/c i using 4mhz xtal so it take 1us to increase timer1 by 1. i think so. ...
  Topic: delay function using timer 1
giaanthunder

Replies: 7
Views: 17812

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 3:15 am   Subject: delay function using timer 1
Hi everybody! i am trying to make a delay function like delay_ms() using timer 1 with pic 16f877a, but it didnt work at all. im using 4mhz xtal and the simulation was stuck at the line PORTD=0xff;

...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group