Changed the file type of myValue from byte to int

analogRead() returns an int and not a byte value
This is a great tutorial!!