Updating examples to use serial port