From 5669a98b420c87eedeaf7597604ccadea32ad025 Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Mon, 21 Sep 2015 15:29:54 +0100 Subject: [PATCH] Expose add-on board classes to the module --- gpiozero/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gpiozero/__init__.py b/gpiozero/__init__.py index e1ed84a..950823e 100644 --- a/gpiozero/__init__.py +++ b/gpiozero/__init__.py @@ -8,7 +8,7 @@ from .devices import ( _gpio_threads_shutdown, GPIODeviceError, GPIODevice, - ) +) from .input_devices import ( InputDeviceError, InputDevice, @@ -23,6 +23,12 @@ from .output_devices import ( Buzzer, Motor, ) +from .boards import ( + TrafficLights + PiTraffic, + FishDish, + PiLiter, +) def gpiozero_shutdown():