user15690: I'm working on a Raspberry Pi connected to an Arduino.
When I execute
echo 'Hello' > /dev/ttyACM0

, the Arduino receives the data, as indicated by its LED. How can I read the data on the Arduino and process it?

user521: Use Serial.read() there are plenty of examples that come with the Arduino IDE, just make sure the baud rates on the Raspberry Pi and Arduino match.

15690: <p>I'm working on a Raspberry Pi connected to an Arduino.
When I execute</p>

<pre><code>echo 'Hello' &gt; /dev/ttyACM0
</code></pre>

<p>, the Arduino receives the data, as indicated by its LED. How can I read the data on the Arduino and process it?</p>
 521: <p>Use Serial.read() there are plenty of examples that come with the Arduino IDE, just make sure the baud rates on the Raspberry Pi and Arduino match.</p>
