Question: Write C program thats do the following: When you press the middle button on the Joystick: display the last 6 digits of your ID number
Write C program thats do the following:
- When you press the middle button on the Joystick: display the last 6 digits of your ID number and the bottom bar on the LCD. [show LCD_RAMs calculations]
- When you press the left button on the Joystick: Light up the RED LED.
- When you press the right button on the Joystick: Toggle the RED LED.
- When you press the up button on the Joystick: Light up the GREEN LED.
- When you press the down button on the Joystick: Toggle the GREEN LED.
Be careful: dont add extra unused statements in your code, this will cost you losing marks.
Hints: use your codes as a reference, write your own comments in the code, and add your demo video at the end.
Note: To add (.c) or (.h) files from another project put the files in your project directory, then in Kiel go to [Project-Manage-Project item-add].
microcontroller STM32L476
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
