added Arduino code