...
Suggested steps
...
/hints
Look at the schematic to know pin mappings, and assign pin mappings to the GPIOs
Look at the programming guide to learn the API for accessing the GPIO ports. Using the
gpio_config
function is not recommended as it is harder to get right.gpio_num_t can be referenced via
GPIO_NUM_XX
where XX is the GPIO number you got in step 1.
Test Criteria
Ensure you can toggle both On LED and Spedometer
Ensure you can read whether Accelerate, Brake, and Direction are being pressed down.
...