this repo is for all the code related to the microcontroller system for our wheelchair.
- Install a C/C++ IDE which supports PlatformIO (e.g. Visual Studio Code, CLion).
- Install PlatformIO as an extension in your IDE.
- Open any project folder in your IDE.
- Open the PlatformIO Home from the PlatformIO extension in your IDE.
- Build the project using the PlatformIO build button.
- Upload the project to the Rapspberry Pi Pico using the PlatformIO upload button.
- Open the serial monitor to view the output of the Pico. (If using Clion, don't use the upload and monitor button, instead use the Clion Serial Monitor Plugin)
- Make changes to the code and test them on the Pico.
- If you are going to add new libraries to the project, add them to the
platformio.ini
file. - Make sure that you develop your changes in a separate branch in Git
Please put all .c/cpp
files in the src directory and the corrisponding .h
files in the include directory. Please break out subsystems into new files to keep the main file clean. Also please leave function descriptions above your function declarations.
Please write a brief decription of what your code changed, and why you made those changes. Set yourself as the assignee, and assign someone on the team as the reviewer. Do not merge your code until at least 1 person on the team has reviewed it and given approval.