6. Develop an 8051-based system for detecting the keypress of an array of 8 pushbutton switches.connected to thc port pins P1.0 to Pl.7 of the microcontroller. Using an AND gate generate an external interrupt signal when an one of the push buttion switch is depressed Identify which push buttion is depressed by scanning the status the push button connected port pins, in the interupt service routine for the external interrupt. The port pins are scanned in the
OR
OR