Committed Python source code for serial communications and clock setting