D. Welsh
D. Welsh

Reputation: 11

Serial communication over usb raspberry pi

How do I send information from a raspberry pi to an arduino over the USB port in c++? Optimally, I would want sending and receiving serial info to be as easy as

Serial.println("food");
Temp = Serial.read();

Upvotes: 0

Views: 1261

Answers (1)

The Quantum Physicist
The Quantum Physicist

Reputation: 26336

How about Boost::ASIO?

Check an example here.

Upvotes: 0

Related Questions