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 2 matches
CCS Forum Index
Author Message
  Topic: How to enable timer2 interrupt for pic16f1933
PhenixLin

Replies: 4
Views: 7396

PostForum: General CCS C Discussion   Posted: Tue May 21, 2013 2:12 am   Subject: How to enable timer2 interrupt for pic16f1933
Dear all:

Thanks for your kindly help. ^^
The complier version is 4.104.
In fact, I monitor the PIN_C0 by oscilloscope, not LED.

I tried the code provided by PCM programmer and it works.
BUT ...
  Topic: How to enable timer2 interrupt for pic16f1933
PhenixLin

Replies: 4
Views: 7396

PostForum: General CCS C Discussion   Posted: Sun May 19, 2013 9:23 pm   Subject: How to enable timer2 interrupt for pic16f1933
I want to do some control by timer2 interrupt of pic16f1933.
Here is my code:

void main()
{
setup_timer_2(T2_DIV_BY_1, 1, 1);
set_tris_c(0x98);
output_ ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group