Commit Graph

759 Commits

Author SHA1 Message Date
Dave Jones
b87bb0c4c3 Minor clean-up
Expand gitignore to include the usual py developing stuff, add an
__init__ to make this a legitimate package, move GPIO initialization
into the package init, import all stuff from input and output devices in
the package to enable the access demonstrated in the example, remove a
duplicate method from LightSensor, and make motion_detected a property
(for consistency with is_active which it presumably parallels).
2015-09-15 08:43:13 +01:00
Ben Nuttall
5b99e69e9b Make is_active a property 2015-09-14 21:29:39 +01:00
Ben Nuttall
d11f9725e5 Implement TemperatureSesnor and Motor and expand readme 2015-09-14 21:01:24 +01:00
Ben Nuttall
f548729676 Add MotionSensor 2015-09-14 15:54:54 +01:00
Ben Nuttall
d802e2d89a Add components to readme 2015-09-14 13:58:35 +01:00
Ben Nuttall
3e52078450 Add wait_for_input and add_callback methods to InputDevice 2015-09-14 13:46:08 +01:00
Ben Nuttall
4d19a10547 Add basic version of code 2015-09-14 11:04:39 +01:00
Ben Nuttall
95118e504d Ignore *.pyc 2015-09-14 11:04:18 +01:00
Ben Nuttall
272747238f Initial commit 2015-09-14 10:36:03 +01:00