From 83a931101175db598bbef9bdc1160c826a40b3ff Mon Sep 17 00:00:00 2001 From: gunu3371 <55932910+gunu3371@users.noreply.github.com> Date: Mon, 29 Apr 2024 16:24:43 +0900 Subject: [PATCH] Update service.py --- service.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service.py b/service.py index a9a7f3a..504abfa 100755 --- a/service.py +++ b/service.py @@ -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) \ No newline at end of file + time.sleep(1)