예제 #1
0
def main():
    sour=serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts);
    h.power_on(sour, h.current_limit, h.voltages)
    print "turned on: %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_on(sour, h.current_limit, h.voltages)
    return 0
예제 #3
0
def main():
    sour=serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts);
    h.power_on(sour, h.current_limit, h.voltages)
    return 0