Embedded Systems Lecture Example Code for Interrupts and DC Motor