Corrected byte to int

analog() method return int (not byte)