This dll for Windows allows you to communicate with an Arduino microcontroller.
Available functions: arduino_create(com, baud) - Creates a new Arduino connection and returns the id.
arduino_connected(id) - Checks to see if an Arduino is connected.
arduino_read(id, length) - Reads a string of a certain length from the Arduino.
arduino_read_to(id, char) - Reads to a delimiter character and returns the read string.
arduino_read_line(id) - Reads to the end line character.
arduino_write(id, buffer, length) - Writes a string to an Arduino.
arduino_delete(id) - Destroys the connection to the Arduino, freeing it from memory.
arduino_destroy() - Destroys the connection to all Arduinos and frees them from memory.
A GM8 version, the example Arduino code, and the C++ source code are also available here.
Added the ability to set the baud rate.