Adding Arduino code that works to the project