Hello!
I am trying to figure out how I would, on a Windows operating system, write a code in C that can send commands to and then read data from an arduino. The only thing that I found that tries to tackle this problem is this site:
http://todbot.com/blog/2013/04/29/arduino-serial-updated/
I am very new to programming, so I don't know if I just don't understand what this person is saying about communicating with an arduino in C on a Windows system, of if there just isn't a good (or working) example of how to do this. I went to the code that they posted on Github here:
However, it seems that only examples of how this is done on Linux and Mac are posted. When I just tried to play around with one of the example codes (I also downloaded and included "arduino-serial-lib.h" in my program), I got a bunch of errors that, upon Googling, seem to be due to the fact that the posted code is for Linux and Mac.
If anyone has any ideas as to how I can do this, or if you actually understand what the site above is saying for a Windows system, any help would be appreciated.
Thank you!!