created after a reddit request, therefore it's not just the microcontroller, but an example to learn from.