Pages: [1]   Go Down
Author Topic: Sending variables with serialprint  (Read 604 times)
0 Members and 1 Guest are viewing this topic.
France
Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26626
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

"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.

France
Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: