Corrected byte to int.

The original code has a bug. analogRead returns and int. This change
corrects the variable mismatch.