Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Change the timeout description in README
  • Loading branch information
anhmiuhv authored Jan 5, 2024
1 parent 6f0c523 commit 4d82d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ GPIO.RISING, GPIO.FALLING or GPIO.BOTH. If you only want to limit the wait
to a specified amount of time, a timeout can be optionally set:

```python
# timeout is in milliseconds
# timeout is in seconds
GPIO.wait_for_edge(channel, GPIO.RISING, timeout=500)
```

Expand Down

0 comments on commit 4d82d22

Please sign in to comment.