Skip to content

Instantly share code, notes, and snippets.

@aquilesC
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aquilesC/667ada90d631079da0da to your computer and use it in GitHub Desktop.
Save aquilesC/667ada90d631079da0da to your computer and use it in GitHub Desktop.
simple_powermeter
import serial
inst = serial.Serial('COM1', baudrate=9600, bytesize=8, timeout=1)
inst.write('O\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment