Arduino code for INF1510 project (User-oriented design)