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

Login:
Pass:
 
 

Page 2 of 2
Topic:
Denon 3808 RS232 channel level
This thread has 17 replies. Displaying posts 16 through 18.
Post 16 made on Friday January 14, 2011 at 14:34
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,007
The issue is likely that the serial.match() is not stripping the trailing "\r" from your string.

So, right before the switch, add:

if ((INP !== null) && (INP.length > 1) && (INP.charAt(INP.length-1) === '\r'))
INP = INP.substring(0, INP.length-1);

The above code will trim off the extra "\r".

Please create a new thread with relevant information if this does not work.

Thanks,
Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 17 made on Friday January 14, 2011 at 15:19
maxdgt03
Lurking Member
Joined:
Posts:
January 2011
7
i will try that out tonight thanks for your help i will open a new thread asap thanks again
Post 18 made on Friday January 14, 2011 at 17:11
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,007
You're welcome. :-)
Lyndel McGee
Philips Pronto Addict/Beta Tester
Page 2 of 2


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse