Noman Yousaf
Full Member level 4
- Joined
- Nov 19, 2003
- Messages
- 208
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- Lahore Pakistan
- Activity points
- 1,763
hi
i am using 16f676 with assembly language. i want to make PWM based lamp dimmer.
for this purpose, i have to use 2 interrupts. external int and timer 1 interrupt.
can i use both? when external interrupt will wake, timer1 will start, make a port hi. when it will turns off by overflowing, will make the port low. and will wait next external interrupt.
please confirm can it be possible?
if yes then please tell me the origins setting for both ISRs.
i am using 16f676 with assembly language. i want to make PWM based lamp dimmer.
for this purpose, i have to use 2 interrupts. external int and timer 1 interrupt.
can i use both? when external interrupt will wake, timer1 will start, make a port hi. when it will turns off by overflowing, will make the port low. and will wait next external interrupt.
please confirm can it be possible?
if yes then please tell me the origins setting for both ISRs.