Homework of the embadded system class. A light turning on/off game.