Does anyone here know PX4 software? I'm using Eclipse to program it and I want to Open a new UART door and write on this, I'm doing the following commands...
static int uart2=open("/dev/ttyS1", O_RDWR | O_NONBLOCK | O_NOCTTY);
write(uart2,"Hi",3);
But this is not working! Anyone have any idea why?