Author |
Message |
Topic: Help to use external interrupt |
alexerty
Replies: 13
Views: 39377
|
Forum: 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 |
Topic: Help to use external interrupt |
alexerty
Replies: 13
Views: 39377
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|