Examples for serial communication