We’re rewarding the question askers & reputations are being recalculated! Read more.
2 of 2 edited body

The start and stop bit are already included as part of the UART protocol. When you send a byte it first sends the start bit, then the byte, then the stop bit. You don't need to do anything to make those bits send.

20 is actually sent as 0001010001

So your code will just be a series of Serial.write() calls for each byte you want to send.

Serial.write(1);
Serial.write(20);
Serial.write(1);
Serial.write(1);
Serial.write(0);
Serial.write(0);

Or as an array:

uint8_t data[6] = {1, 20, 1, 1, 0, 0};
Serial.write(data, 6);