Changing variable scope

Attempting to assign serial date to  noteByte