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 8 matches
CCS Forum Index
Author Message
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Fri Apr 23, 2010 4:14 pm   Subject: Help to use external interrupt
So , it does work now

I have resolved my issue

The problem was a bug from Isis

You can close the topic if you want

Thank you for your help Very Happy
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Thu Apr 22, 2010 2:53 am   Subject: Help to use external interrupt
Thank PCM Programmer
I begin to wonder if the problem does not come from Isis which doesn't support external interruption.
There is no reason for not working here.
I will try to run your program o ...
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Wed Apr 21, 2010 10:57 am   Subject: Help to use external interrupt
So the compiler version number is 4.038
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Wed Apr 21, 2010 6:51 am   Subject: Help to use external interrupt
What happens if you reduce the program to just blinking the LED?#include <16F88.h>
#fuses INTRC_IO,NOWDT,BROWNOUT,PUT,NOLVP

#use delay(internal=8M)

void main()
{
...
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Wed Apr 21, 2010 5:13 am   Subject: Help to use external interrupt
well I try with your code

#include <16F88.h>
#fuses INTRC_IO,NOWDT,BROWNOUT,PUT,NOLVP

#use delay(internal=8M)


#INT_EXT
void ext_isr(void)
{
output_toggle&# ...
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Tue Apr 20, 2010 3:06 am   Subject: Help to use external interrupt
Thanks for your responses
I haven't a pull-up resistor on the External interrupt pin but a pull-down as I trig interruption from Low to high voltage (ext_int_edge(L_TO_H); )


...
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Mon Apr 19, 2010 10:30 am   Subject: Help to use external interrupt
if you look my code I put enable_interrupts(GLOBAL)
  Topic: Help to use external interrupt
alexerty

Replies: 13
Views: 39377

PostForum: General CCS C Discussion   Posted: Mon Apr 19, 2010 1:32 am   Subject: Help to use external interrupt
Hello:grin:

I post a new topic because I trying to validate my external interrupt program.

I have a function when my button RB0(INT0) to press that my LED (on RB1) can work.
It's a simple prog ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group