예제 #1
0
def main():
    sour=serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts);
    h.power_off(sour)
    print "turned off: %s" % (time.strftime("%Y-%m-%d %H:%M:%S"))
예제 #2
0
def main():
    sour = serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts)
    h.power_off(sour)
예제 #3
0
def main():
    sour=serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts);
    h.power_off(sour)