D4D Technologies interview question

How would you create a serial communication channel from scratch