General Arduino code for home / work