@ -18,7 +18,7 @@ async def button_press(gpio:int, level) -> bool:
PTT_IS_ON = 1
if(pi.read(gpio)==0):
PTT_IS_ON = 0
asyncio.sleep(.5)
if __name__ == "__main__":
asyncio.create_task(button_press(10, pigpio.EITHER_EDGE))
The note is not visible to the blocked user.