Bertrand BAROTH - 2020-08-14

I will use two bits of a port as software RS232 bits (in and out), the 6 remaining bits being used as outputs. I think that, after the "defining" lines for the software serial port at the beginning of the code, I should define both lines as input and output in the Ddr at the begin of main program and, when I write the port (for the other bits), set the "output" bit of RS232 to 1, since serial data, as far as I know, begin with a "low" state (RS232 routines won't run in an interrupt routine, and all interrupts will be all the way disabled), so the "idle" state should be high. Is this correct ?
Thanks for any answer ...