This implements multiple measures for a more consistent control loop:
- Use Alarm0 to generate a trigger signal every millisecond. This
ensures that the loop’s update rate is constant.
- Introduces the Logger module to handle UART communication in a
non-blocking way (no interrupts, though). The Logger module has a
internal, statically allocated queue to accomplish this.