1

Topic: Variable to RemoteXY text field

I am flummoxed.

My coding is limited to Arduino projects - in other words, I am not a code person. In fact my previous (and only other) coding experience was in the early 90s with Visual Basic. I relate this in my request for kindness and patience.

I need to send int & float values to text fields on my RemoteXY screen. For the life of me I can figure this out. I can send numbers. I can send words. But I cannot send a variable.

I welcome any and all suggestions.

Thank you!

2

Re: Variable to RemoteXY text field

There are some functions to convert integers/floats to char arrays

itoa for ints
dtostrf for floats
sprintf for anything (depending on the board that you use, it may not work for floats unless manually enabled)

3

Re: Variable to RemoteXY text field

Many thanks for the links. It works a treat.