Exercise 4 for Embedded Software Development Environments course