arduino code

button works, potentiometer hasn't been tested yet