Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
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;
}


Hosting Services by ipHouse