Changed byte to int

There is a bug in the code where a value from analogRead is set to byte
whilst analogRead is always an int. Pulling for fun. Sparkfun FTW.