Post 7 made on Wednesday December 20, 2017 at 14:21 |
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
|
|
|