Skip to content

Commit 30dda25

Browse files
committed
Fixed falling edge
1 parent fd81d01 commit 30dda25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ def resetDefaultPrograms():
219219
## Reset
220220
def reset():
221221
pi = pigpio.pi('localhost')
222-
#simulating FALLING EDGE ...|¯|_|¯...
222+
#simulating FALLING EDGE
223223
pi.write(BUTTON_PIN, 1)
224224
pi.write(BUTTON_PIN, 0)
225-
pi.write(BUTTON_PIN, 1)
226225

227226
return {
228227
"status": "ok"

0 commit comments

Comments
 (0)