Arduino code

This goes in arduino IDE