I have some python code :
self.writeSerial("11\n")
working with an arduino.
I would like to write an indi driver for it :
I've tried
char c[3] = {0x31,0x31,0x0a};
then
tty_write(PortFD, c, 3, &nbytes_written)
I have no error, but it doesn't work.
Any hints ?