Go Down

Topic: Interfacing Arduino with C++ (Read 1 time) previous topic - next topic


Feb 27, 2010, 01:43 pm Last Edit: Feb 27, 2010, 03:36 pm by zydeoN Reason: 1
Hey! Just trying to send instructions to the arduino serial port with Visual Studio... I found this useful (http://www.arduino.cc/playground/Interfacing/CPPWindows) and followed the example at the bottom. I can establish connection to the serial port, but cant get the led to blink. By the way, what is this going to do :

Code: [Select]
this->serialPort1->Write( "7" );

They say that: " The LED on the Arduino board should blink the same number of times as the number you entered in the Write statement above, only if it's from 1-9. "
So what does SerialPort->Write() do ?

EDIT: Sorry, this is built on the example serial_read_blink.pde, so i need to run the program first on the arduino -.- Such an idiot...

Go Up