mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
21 lines
331 B
Python
21 lines
331 B
Python
from __future__ import absolute_import
|
|
from RPi import GPIO
|
|
|
|
GPIO.setmode(GPIO.BCM)
|
|
GPIO.setwarnings(False)
|
|
|
|
from .input_devices import (
|
|
InputDeviceError,
|
|
InputDevice,
|
|
Button,
|
|
MotionSensor,
|
|
LightSensor,
|
|
TemperatureSensor,
|
|
)
|
|
from .output_devices import (
|
|
OutputDevice,
|
|
LED,
|
|
Buzzer,
|
|
Motor,
|
|
)
|