Corrected variable decleration

changed myValue from a byte to an int variable  type