edit GPIO script to make it simple

wa2kjc

New Member
Joined
Jul 7, 2023
Messages
1
Reaction score
0
Credits
13
Can someone edit the attached script so as to make it real simple, it works nicely as is but I have another use for GPIO bit 21, I want to play a cw T as soon as bit 21 goes low, one time play and no wait, play everytime bit 21 goes low. Reset to high within a second or two when low is released from bit 21 so a retrigger will be heard. I know how to play the cw T but I don't know how to make the script simpler.
 

Attachments

  • door_check(2).txt
    1.7 KB · Views: 135

Members online


Latest posts

Top