Go Down

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

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview