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 7 made on Wednesday December 20, 2017 at 14:21
peteS
Long Time Member
Joined:
Posts:
June 2003
20
Thanks Rene

Not sure what I was doing earlier - as you say, your form now works fine. Might have had a stray , in there I think....

Anyway, the form I'm using is now

writeText = "\x04\x01\x00\x00\x00\x00"+chr[Math.floor(224 + (code/16))]+chr[code % 16];
socket.write (writeText);

I've borrowed the chr[] array definition from Barry - nice easy lookup method.

So, all good there now. thanks for your help.

pete S


Hosting Services by ipHouse