Computer Programming and MCUs: - Assembly Language - STM32CubeIDE - STM32F3DISCOVERY Board MCU Objectives: 1. Create a function that can chase an LED around the LED circle. This means that only one LED should be on, and the currently on LED will move either clockwise, or anti-clockwise around the circle of LEDs. Provide a value to the function in R1 which selects whether the LED goes clockwise or anti-clockwise. Provide a value to the function in R2 which selects how many LEDs should be on at the same time (1 LED chasing, 2 LEDs chasing, etc). 2. Make a map between an ASCII character and a pattern of LEDs being on/off. Demonstrate this with a function that uses an ASCII value stored in R1 to turn the LEDs on/off to show the pattern. 3. Use the discovery board user input button to step through the characters in an ASCII string and show the LED patterns one at a time. General Assumptions/hints: - User Button located in GPIO port A (base address: 0x48000000) - LEDs located in GPIO port E (base address: 0x48001000) - LED circle located in GPIO port E, bits 8-15 - Use STM32F3-Reference-Manual-Large.pdf for register addresses/offsets Basic steps: 1. Enable the clock for each I/O port we want to use 2. Setup GPIO Registers (Button = input, LEDs = output) 3. Read from input or write from output STM32F3DISCOVERY Board MCU: STM32CubeIDE: P. Project Explorer x Thern arn no projects in ynur workspaca. To add a project: Create a mew Makefile project in a directory centaining revisting cade Create a new C or Ct+ prodect Crate a Naw STM37 prolact Craata a Naw StM37 Proinct fram an Fristing Create a project... timpert projects... D itams selected.