Arduino code for all needed.