@@ -0,0 +1,507 @@
+## Open a serial connection with Arduino.%0Aimport time%0Aimport serial%0Aser = serial.Serial(%22COM9%22, 9600)   # Open serial port that Arduino is using%0Atime.sleep(3)                       # Wait 3 seconds for Arduino to reset%0Aprint ser                           # Print serial config%0A%0A%0Aprint %22Sending serial command to OPEN the dust cover.%22%0Aser.write(%22O%22)%0Aprint %22Closing serial connection.%22%0Aser.close()%0A# Reminder to close the connection when finished%0Aif(ser.isOpen()):%0A   print %22Serial connection is still open.%22%0A

Create open.py