Question: [10 Marks) Write a small main.c file for an MCU operating at 32 MHz with a button attached to pin 18 and an LED on
[10 Marks) Write a small main.c file for an MCU operating at 32 MHz with a button attached to pin 18 and an LED on pin 23. There is no LCD attached. The program should counting rising edges from the button pin. At every tenth rising edge, have the LED turn on until the next button press. Use your buttons.c library functions. [10 Marks) Write a small main.c file for an MCU operating at 32 MHz with a button attached to pin 18 and an LED on pin 23. There is no LCD attached. The program should counting rising edges from the button pin. At every tenth rising edge, have the LED turn on until the next button press. Use your buttons.c library functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
