All the code for this project was written for the mbed LPC1768. mbed has it’s own OS, APIs and toolchain. It churns out a binary that need to be copied into the LPC1768 root directory, then reset the LPC1768 and it runs the new application. In theory, the same code should work on all mbed supported boards, as long as they have enough memory. All the pin numbers will need to be changed of course.
The code is hosted on Gitlab at:
Any contributions are more than welcome!