Question: 4 x 4 Key Pad Interfacing Exercise (ATM Machine Design) Write a C18 Program to check if the 4 digits entered by the user correspond
4 x 4 Key Pad Interfacing Exercise (ATM Machine Design) Write a C18 Program to check if the 4 digits entered by the user correspond to the expected secret pin code. Assume that the 4 digit secret codes are entered serially from the ATM card to the ATM machine's HCS12 microcontroller (through its pin PORT T-bit 0- "Data" signal) every time there is a low to high transition on pin PORT T-bit 1 ("Ena" Signal). A Green LED connected to PORT T-bit 2 is then switch on in case the entered code matches the secret code. Otherwise a Red ATM Machine Ena ATM Card HCS12 Easy Data Sim Card
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
