Preliminary Arduino Code