Author |
Message |
Topic: INTERRUPTS |
fariq23
Replies: 13
Views: 11302
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 11:33 am Subject: INTERRUPTS |
thanks bkamen.. |
Topic: INTERRUPTS |
fariq23
Replies: 13
Views: 11302
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 11:19 am Subject: INTERRUPTS |
thanks bkmen..i will try to test my program on hardware..
but i need your suggestion where the part of my coding is totally wrong and the part that best part to put and interrupts subroutine..
thank ... |
Topic: INTERRUPTS |
fariq23
Replies: 13
Views: 11302
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 11:11 am Subject: INTERRUPTS |
but my condition, i want interrupts take an action for 2 second..
and then continue back the main routine..i read the datasheet about interrupt.
it explain the another subroutine will take over when ... |
Topic: INTERRUPTS |
fariq23
Replies: 13
Views: 11302
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 10:55 am Subject: INTERRUPTS |
#include <16f877a.h>
#use delay(clock = 20000000)
#fuses hs, noprotect, nowdt, nolvp
#byte PORTB=6
#INT_EXT
void switch_isr(){
portb=0b00010000;
output_bit(pin_D0,0);
d ... |
Topic: INTERRUPTS |
fariq23
Replies: 13
Views: 11302
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 10:17 am Subject: It's homework time again... |
hmm...i had a problem..that why i post in this forum..
i need and idea not a useless comment!!!! |
Topic: INTERRUPTS |
fariq23
Replies: 13
Views: 11302
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 8:43 am Subject: INTERRUPTS |
Situation
1. Pic will continuously toggle LED at PORT RB1, RB2 and RB3, and toggle
buzzer ON and OFF in sequence every 1 sec.
2. When interrupt occur, ALL LED and buzzer will automatically tur ... |
Topic: ADC interrupt |
fariq23
Replies: 1
Views: 4271
|
Forum: General CCS C Discussion Posted: Sun Dec 05, 2010 2:28 am Subject: ADC interrupt |
Situation
1. Pic will continuously toggle LED at PORT RB1, RB2 and RB3, and toggle
buzzer ON and OFF in sequence every 1 sec.
2. When interrupt occur, ALL LED and buzzer will automatically ... |
Topic: adc interrupt |
fariq23
Replies: 2
Views: 6204
|
Forum: General CCS C Discussion Posted: Tue Nov 30, 2010 12:46 am Subject: adc interrupt |
can someone tell how the adc interrupt work..
it is same as timer interrupt?? |
|