Corrected variable type declaration

Original code has a bug.  analogRead returns an int and not a byte.