mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix typo
This commit is contained in:
@@ -129,7 +129,7 @@ while True:
|
|||||||
Capture a picture with the camera module every time a button is pressed:
|
Capture a picture with the camera module every time a button is pressed:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from gpiozero import button
|
from gpiozero import Button
|
||||||
from picamera import PiCamera
|
from picamera import PiCamera
|
||||||
|
|
||||||
button = Button(17)
|
button = Button(17)
|
||||||
|
|||||||
Reference in New Issue
Block a user