Arduino , Serial Proxy, Flash


hi,
i hate flash.

but have use it. though feels absolute pain in ass connect arduino.
i working on os x 10.5 , used serial proxy , example beltran berrocal http://www.progetto25zero1.com/b/tools/arduino/
but wouldn't work until put line printstring("");
to void loop(){} in arduino program.
code: [select]

void loop () {
 //try read serial port , create string out of read
 readserialstring(serinstring);
 [color=#cc0000]printstring("looping");[/color]                          
 // prints sentence if flash said something
 if( isstringempty(serinstring) == false) {
 
     //first send feedback flash it's sentence has been heard
     printstring("arduino heard saying: ");
     printserialstring(serinstring);
           
     //optional: separate confirmation , reply in 2 different serial strings
     //by passing byte(0) informs xmlsocket comunication over
      printbyte(0);
     
     //now answer flash continuing conversation, sending appropriate reply
     arduinoconversation( sentencenum );
     
     //update conversation index answer next sentence
     //you have reset board hand if want re-sincronize board
     sentencenum++;
 }


why that? don't know...

that way connection made, though still feels totaly unreliable, because said, arduino program has uploaded after every try etc. .
and asked myself if on best / fastest possible way kind of thing or somewhere in 2005? since never used flash thought there might similar / easy connecting openframeworks or processing / java?

that way seems impossible have arduino board running , sending data flash without having arduni ide+serial monitor on?

if might me or give me information, update serial proxy sample intel macs, since felt there lot of problems whole arduino <-> flash thing on intel macs.

thanks!



Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Arduino , Serial Proxy, Flash


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums