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: v4.124 interrupts errors
open_my

Replies: 2
Views: 4884

PostForum: General CCS C Discussion   Posted: Fri Sep 23, 2011 9:58 am   Subject: v4.124 interrupts errors
Read the datasheet. You have to read port B once to reset the input mismatch condition, otherwise, the interupt will be executed permanently.
input(PIN_B0) does it.

thank.

forget datasheet, th ...
  Topic: v4.124 interrupts errors
open_my

Replies: 2
Views: 4884

PostForum: General CCS C Discussion   Posted: Fri Sep 23, 2011 9:08 am   Subject: v4.124 interrupts errors
yes, i use code
#include <16F887.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#INT_RB

void rb_isr()
{
output_toggle (PIN_D2) ;
IF ( ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group