Hi, I'm trying to read the data from the serial monitor and then store it into a file. I use the code in the following link
http://playground.arduino.cc/Interfacing/CPPWindows
When I run, the error "ERROR!!!" occurred. I checked the code and it's an error in INVALID_HANDLE_VALUE, however i dont know why and how to fix it ?
I used Seeeduino ADK Atmega2560, COM8, with baudrate 9600.
Can someone help me ?
Thanks