Go Down

Topic: Sending variables with serialprint (Read 629 times) previous topic - next topic

TimFr

Can you send numeric variables with serialprint? I only seem to be able to send string variables which means I have to convert them from string to numeric. I am using Libert Basic to do the calculation that I require.
Thank's

AWOL

Do you mean the exact binary representation of a number, or the ASCII representation of the number?
Have you looked at Serial.write?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

TimFr


Do you mean the exact binary representation of a number, or the ASCII representation of the number?
Have you looked at Serial.write?

I was thinking of the ASCII representation but binary would be OK. I will try serial.write.
Thank you

Go Up