update
This commit is contained in:
parent
64a18f9ebe
commit
1db3c8b19c
|
@ -14,5 +14,4 @@ if __name__ == '__main__':
|
||||||
led.direction = Direction.OUTPUT # IO为输出
|
led.direction = Direction.OUTPUT # IO为输出
|
||||||
led.value = 0 #输出低电平,熄灭板载LED蓝灯
|
led.value = 0 #输出低电平,熄灭板载LED蓝灯
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -15,5 +15,4 @@ if __name__ == '__main__':
|
||||||
led.direction = Direction.OUTPUT # IO为输出
|
led.direction = Direction.OUTPUT # IO为输出
|
||||||
led.value = 1 # 输出高电平,点亮板载LED蓝灯
|
led.value = 1 # 输出高电平,点亮板载LED蓝灯
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue