Good morning! Recently I bought an Arduino board to make sort of \"light control\" in my room. Here is the code of the firmware I wrote:
int control = 0; int
your strace output shows it opens the serial port read/write twice. The second time it writes only the chr(12), then closes the file. I don't have enough info to solve the problem for you, but perhaps this helps? or did you already figure that out?