Thanks for posting the whole sketch
Maybe not, but suppose for instance, ruddertrim had been declared with an inappropriate data type ?
Do you mean that you continuously get -1 alternating with the correct value ?
Is it possible that the value is being sent from the Nextion with an extra character appended, such as Carriage Return or Linefeed ?
What do you see if you print the value received to the Serial monitor ?