Variable swap

changed myValue from a byte to an int variable  type