#!/usr/bin/env python

print "hello"

@@ -20,18 +20,605 @@
 on%0A%0A
-print %22hello%22
+#--- selection of import based on the package ---%0A''' 1. with python3-serial'''%0Aimport serial%0A''' 2. without python3-serial'''%0A#from dummySerial import CDummySerial%0A#serial = CDummySerial()%0A#-----------------%0A%0A'''%0Av0.2 2016 Feb. 24%0A  - add serial print%0Av0.1 2016 Feb. 24%0A  - just hello%0A'''%0A%0Aimport time%0Ausleep = lambda x: time.sleep(x/1000000.0)%0A%0Acon1 = serial.Serial('/dev/ttyAMA0', 115200, timeout=0.1)%0A%0Adef main():%0A    while True:%0A        time.sleep(1.0); # second%0A        msg = %22hello,1,7of9%5Cn%22%0A        print msg,%0A        con1.write(msg)%0A%0Aif __name__ == '__main__':%0A    main()%0A    con1.close()   
 %0A

add serial print