Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 297

Serial communication is the standard USB connection between the Arduino and a computer with a standard USB A to B cable or through the TX/RX pins using a USB to serial converter. It can also refer to the serial library.

0 votes
Accepted

How to send two different sets of int numbers over serial?

I wrote a communication protocol for arduino to node.js over Serial. I sent a buffer of bytes using Serial.write() and read it into a buffer. This allows you to send as many numbers as you want. …
xyz's user avatar
  • 359
1 vote

Parsing Int over Serial Slow

More likely, it's because you are processing every instruction as you get it. 1000 serial reads with 6 length for loops over strings (your case) will be significantly slower than 1 serial read and a 6k …
xyz's user avatar
  • 359
0 votes

How to use output from Arduino in C++ code?

I recommend that you use Node.js (node-serialport) or Python (serial), which have excellent native serial support. Both of these use C++ internally to communicate over Serial (Serial.h). …
xyz's user avatar
  • 359