| ??? 04/17/08 14:15 Read: times Msg Score: -1 -1 Looks like homework |
#153614 - about using interrupts |
HI all 8051 gurus,
i am stuck in this problem can u pls help me to this.i have tried this my solution is also shown below. 1).consider a system with two inputs x1 and x2 and two outputs y1 and y2.the outputs are given as functions of the inputs and outputs as follows y1=NOT(x1 AND y2)-logic statement y2=NOT(x2 AND y1)logic statement let push buttons 1 and 2 be the inputs x1 and x2 connected to port 1 bits 0 and 1 respectively and LEDs 1 and 2 be the outputs y1 and y2 connected to Port1 bits 3 and 4.using 8051 microcontroller write an assembly language program to implement the above system as an interrupt service routine. think of a way to generate the interrupt when necessary and draw a diagram to illustrate how the interrupting mechanism is connected to the microcontroller. my solution-: dear all, i think this is a mechanism of R-S flip flop. here i think i would set a photo diode near to the LED and this will activate the interrupt 0.Another photo diode is set to the interrupt 1. i think According to the logic statement if draw a diagram this is an arrangement of R-S flip flop. can u pls help me to do this. thank you very much aravinda |
| Topic | Author | Date |
| about using interrupts | 01/01/70 00:00 | |
| Re: about using interrupts | 01/01/70 00:00 | |
| different interrupt | 01/01/70 00:00 | |
switches and interrupts | 01/01/70 00:00 |



