Serialprint is different if written first to variable

Hello

where is rpm1 declared ? what's its type? we are missing all the variables definitions