Arduino code for our E4 project.