IDE - MPLAB X
The codebase was written on Microchip’s MPLAB X, a dedicated PIC MCU and dsPIC developing environment that comes with microcontroller programmming built-in.
XC16
The compiler used for the project is Microchip’s XC16, a purpose-built PIC MCU and dsPIC 16-bit compiler that is well integrated within MPLAB X.
PICkit4
The programmer used to write the compiled program to the microcontroller is Microchip’s PICkit4, an easily operated programmer that is well integrated within MPLAB X.
Versioning - Git(hub)
Git, in conjunction with Github, was used to version control the repository. This also allowed easy collaboration and synchronisation of the latest codebase.
Documentation Building
This project’s documentation is built using Jekyll, from Markdown .md
files, on Cloudflare Pages, using the Just The Docs theme. This allows for easy versioning using git, and automated website builds.
Code Tools - tools.c
Common code that was used globally got combined into a single tools.c file. It contains:
- UART functions (initialization, send message, send int, break line, etc)
- Integer conversions (unsigned to signed, unsigned to char array, etc)
- Absolute value of an int or float