mirror of
https://github.com/gunu3371/m1s_ups_control.git
synced 2024-09-24 21:25:40 +00:00
Update service.py
This commit is contained in:
parent
52655a3fa3
commit
83a9311011
@ -4,7 +4,6 @@ import time
|
||||
import subprocess
|
||||
import pwmio
|
||||
import board
|
||||
import multiprocessing
|
||||
|
||||
piezo = pwmio.PWMOut(board.D15, variable_frequency=True)
|
||||
piezo.duty_cycle = 0
|
||||
@ -49,4 +48,4 @@ while True:
|
||||
print("------------------------------------------------------")
|
||||
time.sleep(1)
|
||||
piezo.duty_cycle = 0
|
||||
time.sleep(1)
|
||||
time.sleep(1)
|
||||
|
Loading…
Reference in New Issue
Block a user