Buffered Serial Help

Hello,

However, you are sending the string 0xFF which is 4 bytes represented as 0x30 0x78 0x66 0x66. But you need send 0xFF as one byte HEX, so you need to use other way.

     char temp = 0xff;
     serial_port.write( &temp, 1);
//or
     char data[] = {0xff, 0xff, 0xff};
     serial_port.write(data, sizeof(data));

BR, Jan