added arduino code

Exactly what it says on the tin