To develop skills to code and interface key and LED to microcontrollers in embedded systems. Exp 09: Aim: To develop skills to code and interface key and LED to microcontrollers in embedded systems. Flowchart: Algorithm: Initialize port…