Question: Write a program that can read a pressed key from the following Keypad ( Figure 1 Section 1 4 . 9 , Chapter 1 4

Write a program that can read a pressed key from the following Keypad (Figure 1 Section 14.9, Chapter 14 in the textbook). You have to use STM32L4 convention for ARM Cortex-M4 MCU.
For example, if you are using a Pin PA1, you have to initialize with the required parameters such as modes (e.g. MODER) or I/O types (e.g. PUPDR). Examples can be found at the Lecture Notes and a textbook. Moreover, you can use STMCubeMX or any AGI help for initialization.
Also, write assembly code that will integrate a counter, however, input of the counter will be pressed from the Keypad. The counter's initial value should not be a bigger number than a two digit number. The assembly program will count till 99.
The output will be displayed on an LCD display. Assume simple C library functions for LCD display. For Example, LCD_Display (counter).
 Write a program that can read a pressed key from the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!