# blink_status.py # laesst die status led (11) blinken import sys sys.path.append("..\\..\\libs\\python") from octopus import * import time op=octopus_context() octopus_init(op) octopus_open(op) octopus_io_init(op,11) octopus_io_set_pin_direction_out(op,11) octopus_io_set_pin(op,11,0) while 1: octopus_io_set_pin(op,11,1) time.sleep(1) octopus_io_set_pin(op,11,0) time.sleep(1)