Code for my "Software for Real-Time and Embedded Systems" class