Post 4 made on Thursday January 15, 2009 at 04:12 |
PS2 Long Time Member |
Joined: Posts: | October 2005 76 |
|
|
This is what I use.
// Send READY command to Yamaha // At this time we have not set up the callback functions // so this becomes synchronous serial communication var retry = 5; var result = ""; try { while (retry > 0) { result = serial.match("\x11000\x03", "\x03", 500); retry = retry - 1; } } catch (e) { // Unable to communicate with serial extender serial = null; return; }
|
|
|