Author |
Message |
Topic: interrupt generation, code included! |
madan
Replies: 4
Views: 16556
|
Forum: General CCS C Discussion Posted: Fri Oct 24, 2003 11:23 am Subject: interrupt generation, code included! |
Yas after I add while(input(PIN_B0)) at the end of the loop, as suggested, I see that once I toggle the RB0 input, I receive the A/D channel data printed exactly two times on the screen! Any suggesti ... |
Topic: interrupt generation, code included! |
madan
Replies: 4
Views: 16556
|
Forum: General CCS C Discussion Posted: Fri Oct 24, 2003 6:44 am Subject: interrupt generation, code included! |
Thanks for your suggestions. I have changed my program to the code below and it seems to work. When a signal goes high on pin RB0, the PIC is sending the 6 channel ADC data through RS232. But the pro ... |
Topic: interrupt generation, code included! |
madan
Replies: 4
Views: 16556
|
Forum: General CCS C Discussion Posted: Wed Oct 22, 2003 9:47 pm Subject: interrupt generation, code included! |
Hi,
I am trying to read the A/D channel values using RS232. I am using RA3 as reference. The PIC16F874A should send out the A/D channel data (5 channels totally) when it detects an interrupt (L-H ... |
|