I would like to send ANSI char to arduino using nodejs, if it's possible. I tried converting number to string:
port.write(String.fromCharCode(data[i]));
but it doesn't work for \x80 or higher characters. btw i'm using serialport module for communication with arduino