Go Down

Topic: Sending variables with serialprint (Read 694 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy