-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
variety words transmission #22
Comments
If you had the new line character '\n' the message will be transmitted even
if its shorter than 32.
Jonathan Piat
Le 24 févr. 2017 12:13 PM, "JeasonZzz" <[email protected]> a écrit :
… Dear Jpiat
Your code could run properly but we tried to transfer variety of words
instead of hello world. We erase // before #define TRANSMIT_SERIAL and
because of the sentence if(com_buffer_nb_bytes >= 32 || c == '\n'), if we
press Enter on the keyboard the inputted sentence should be transferred.
But the situation now is we could only transfer data if we input more than
32 words.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACNWZHZlK8vQqmNdmBdGlHb7ez20FhApks5rfrs8gaJpZM4MLF21>
.
|
we tried the new line character '\n', but it could not help. The words can only be transmitted if the number of words accumulated to 32. And the part more than 32 words can not show until the next 32 words are inputted. |
Hiw do you send '\n' to the arduino ?
Jonathan Piat
Le 24 févr. 2017 12:28 PM, "JeasonZzz" <[email protected]> a écrit :
… we tried the new line character '\n', but it could not help. The words can
only be transmitted if the number of words accumulated to 32. And the part
more than 32 words can not show until the next 32 words are inputted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACNWZK0v03_-vDJcHbV3zGJg6mIse4vGks5rfr7DgaJpZM4MLF21>
.
|
Now it works! Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear Jpiat
Your code could run properly but we tried to transfer variety of words instead of hello world. We erase // before #define TRANSMIT_SERIAL and because of the sentence if(com_buffer_nb_bytes >= 32 || c == '\n'), if we press Enter on the keyboard the inputted sentence should be transferred. But the situation now is we could only transfer data if we input more than 32 words.
The text was updated successfully, but these errors were encountered: