Go Down

Topic: Communicating with Arduino via Serial (Read 1 time) previous topic - next topic

BLaZuRE

Thank you senti, you helped me connect the dots.

I finally figured out that I need both a sketch that needs to be uploaded to the Arduino, that will handle Serial communication and act upon that serial communication (i.e. flash an LED when a byte is sent).  From the computer C++ code, I can then send information via Serial to the Arduino.  In my searches, I had always found either Arduino code to receive serial information or C++ code to send serial information separately, but did not understand that you needed both.

tkbyd

More on what you want to do at....

http://sheepdogguides.com/arduino/art4SeIntro.htm

The PC-side code isn't written in C++, but the basic ideas are all there, and many specifics which will help you.

Go Up