Your Challenge: Implement a Motor Tester
Background
One of the biggest things that makes embedded programming interesting is working to control both hardware and software. There are several low-level (closer to the physical hardware components) peripherals on-board the microcontrollers for interfacing with various devices. The low-level libraries you will be working with for this bootcamp are the serial peripheral interface (SPI) and the timers (TIM).
Instructions
Your task is to input a potentiometer value from 0 to 3.3V and convert it to a PWM signal to control a motor. The potentiometer is connected to an external ADC chip which sends data to the MCU over SPI. Motor testers are useful for determining servo motor range, continuous rotation motor speed, prototype testing, and centering servos.
Documentation is provided for each step in the process in the next bootcamp pages.
Fork this repository so you can edit it (See Setting up the Dev Environment and Git)
Configure Microcontroller (.ioc) file pins based on schematic
Create a git pull request and message in the your fw-onboarding thread in the WARG Discord to have it reviewed
Once approved, come into the bay to test your code if you are on campus!
A preliminary schematic of the circuit board created for this bootcamp: