Andrew Scheller
|
d3071a2780
|
Doc tweak
The default value should only be documented for the init-method, not on the property itself
|
2016-06-06 03:30:23 +01:00 |
|
Ben Nuttall
|
8b81057f8b
|
Fix typo in pigoiod import
|
2016-06-05 13:00:24 +01:00 |
|
Andrew Scheller
|
97202b9250
|
Add extra product URLs to the boards.py docstrings
|
2016-06-05 11:59:14 +01:00 |
|
Ben Nuttall
|
ea1ec451ef
|
Add Pi Zero v1.3
@waveform80 does this look ok to you?
|
2016-06-04 17:34:05 +01:00 |
|
Ben Nuttall
|
4db57cd0ac
|
Use keyword args for echo & trigger in DistanceSensor example
|
2016-06-03 16:37:11 +01:00 |
|
Ben Nuttall
|
70e3d1b4cd
|
Merge pull request #341 from lurch/deprecate_CompositeDevice_all
remove usage of CompositeDevice.all since it's marked as deprecated
|
2016-05-31 00:22:41 +01:00 |
|
Ben Nuttall
|
35d9228843
|
Merge pull request #342 from lurch/robot_value
Add value-setter for Robot class
|
2016-05-28 17:07:16 +01:00 |
|
Andrew Scheller
|
d8ae4b6814
|
Typo
|
2016-05-28 13:56:04 +01:00 |
|
Andrew Scheller
|
b3035d306e
|
Add value-setter for Robot class
Fixes #305
|
2016-05-28 13:50:47 +01:00 |
|
Andrew Scheller
|
42371294a2
|
remove usage of CompositeDevice.all since it's marked as deprecated
|
2016-05-28 13:14:45 +01:00 |
|
Ben Nuttall
|
8b006e9fb7
|
Merge pull request #339 from lurch/extra_init_params
Add extra init-method params
|
2016-05-28 12:39:25 +01:00 |
|
Andrew Scheller
|
e832cfeb23
|
Add extra init-method params
adds `initial_value` to PiLiter, TrafficLights, PiTraffic & SnowPi and
adds `pwm` to PiTraffic
|
2016-05-28 12:17:52 +01:00 |
|
Andrew Scheller
|
871c9268b2
|
Change LEDBoard.leds to return a static tuple
fixes #337
|
2016-05-28 10:42:49 +01:00 |
|
Andrew Scheller
|
90ba151d26
|
Doc fix: initial_value for PWMOutputDevice and PWMLED are float (not bool)
|
2016-05-27 23:27:58 +01:00 |
|
Ben Nuttall
|
a13a7bb1c4
|
Correct PiLiterBarGraph init params
|
2016-05-27 22:05:09 +01:00 |
|
Ben Nuttall
|
a116e9ded0
|
Add PWM support to PiLiterBarGraph
|
2016-05-27 21:51:20 +01:00 |
|
Ben Nuttall
|
a90bbdaa2e
|
Merge pull request #328 from lurch/patch-2
Remove redundant line of code
|
2016-05-26 23:09:34 +01:00 |
|
Ben Nuttall
|
e515601a2c
|
Merge pull request #332 from lurch/patch-4
Doc fix: RGBLED's initial_value is a tuple
|
2016-05-26 23:08:55 +01:00 |
|
Ben Nuttall
|
80ff2d70f1
|
Merge pull request #333 from lurch/add_ledborg
Add LedBorg as a subclass of RGBLED
|
2016-05-26 23:08:39 +01:00 |
|
Ben Nuttall
|
af84ed1c04
|
Merge pull request #327 from lurch/patch-1
Don't (implicitly) set an initial_value in PWMOutputDevice's init method via the super() call
|
2016-05-26 23:08:25 +01:00 |
|
Andrew Scheller
|
3a7acbf89d
|
Add LedBorg as a subclass of RGBLED
|
2016-05-26 20:27:16 +01:00 |
|
Andrew Scheller
|
fea0e79bea
|
DistanceSensor: make the max_distance setter more like __init__
|
2016-05-26 20:14:51 +01:00 |
|
Andrew Scheller
|
d2833e988f
|
Doc fix: RGBLED's initial_value is a tuple
|
2016-05-26 19:24:19 +01:00 |
|
Andrew Scheller
|
48bac77d29
|
Remove redundant line of code
self._bits is already set in AnalogInputDevice so no need to also set it in MCP3xxx
|
2016-05-24 10:25:47 +01:00 |
|
Andrew Scheller
|
3ee154189c
|
Don't (implicitly) set an initial_value in PWMOutputDevice's init method via the super() call
fixes #326
|
2016-05-23 20:57:58 +01:00 |
|
Dave Jones
|
2bced655c8
|
Merge pull request #324 from lurch/pwm_float
Always make PWMOutputDevice operate on floats.
|
2016-05-11 16:32:14 +01:00 |
|
Andrew Scheller
|
da9b0bb644
|
Always make PWMOutputDevice operate on floats.
And better 'encapsulation' of the active_high properties.
|
2016-05-11 16:23:39 +01:00 |
|
Andrew Scheller
|
87d00f9047
|
Replace Event.wait(0) with Event.is_set()
The functionality is identical, and IMHO the latter is much more readable
|
2016-05-10 15:03:28 +01:00 |
|
Andrew Scheller
|
c9461c50d3
|
Add a pwm option to the RGBLED and Motor constructors
...along with the other necessary changes required, to allow them to
optionally be used with non-PWM-capable pins
|
2016-05-08 18:23:30 +01:00 |
|
Dave Jones
|
1b7dad5fa4
|
Merge pull request #313 from lurch/patch-5
Add active_high parameter to LEDBarGraph's constructor
|
2016-05-08 11:56:51 +01:00 |
|
Dave Jones
|
1575863ba5
|
Merge pull request #312 from lurch/rgbled_pulse
Add RGBLED.pulse method
|
2016-05-08 11:53:14 +01:00 |
|
Dave Jones
|
4ff0f3f043
|
Merge pull request #311 from lurch/patch-4
Typo in SPISoftwareBus._shared_key
|
2016-05-08 11:42:59 +01:00 |
|
Dave Jones
|
39573a3093
|
Merge pull request #308 from SteveAmor/master
Corrected value of capacitor used in LightSensor
|
2016-05-08 11:40:13 +01:00 |
|
Dave Jones
|
97e873dd2e
|
Revert "Update output_devices.py"
|
2016-05-08 11:39:25 +01:00 |
|
Dave Jones
|
714638a195
|
Merge pull request #301 from goloplo/patch-1
Update output_devices.py
|
2016-05-08 11:38:26 +01:00 |
|
Dave Jones
|
afc847c159
|
Merge pull request #307 from lurch/extra_board_tests
Add more unit tests, fix a few small bugs
|
2016-05-08 11:36:27 +01:00 |
|
Dave Jones
|
4d8e49c5b8
|
Merge pull request #304 from lurch/patch-2
Minor Energenie tweaks
|
2016-05-08 11:10:38 +01:00 |
|
Andrew Scheller
|
86aeab4129
|
Add active_high parameter to LEDBarGraph's constructor
Also adds an active_high property to LEDCollection, and fixes up some of the LEDBoard docstrings
|
2016-05-06 11:53:00 +01:00 |
|
Andrew Scheller
|
18bb3f559e
|
Add RGBLED.pulse method
Also add timing tests to all the blink unit-tests
|
2016-05-04 11:14:36 +01:00 |
|
Andrew Scheller
|
67261e44b2
|
Typo in SPISoftwareBus._shared_key
It's a @classmethod, so the first parameter is cls not self
|
2016-05-02 19:53:33 +01:00 |
|
Steveis
|
191cda29c0
|
Another SI unit correction
|
2016-05-02 11:20:59 +01:00 |
|
Steveis
|
bdaa927279
|
Correct capacitance SI unit
|
2016-05-01 19:34:30 +01:00 |
|
Steveis
|
019347db26
|
Corrected value of capacitor used in LightSensor
CamJam kit has a 1uF capacitor in it. Plus I physically tested with the 1uF cap in my CamJam #2 kit.
|
2016-05-01 18:04:02 +01:00 |
|
Andrew Scheller
|
fddb95b84b
|
Add more unit tests, fix a few small bugs
|
2016-04-30 16:47:29 +01:00 |
|
Andrew Scheller
|
708157c8fd
|
Minor Energenie tweaks
|
2016-04-30 12:19:45 +01:00 |
|
goloplo
|
3e8a998661
|
Update output_devices.py
|
2016-04-28 21:07:37 +01:00 |
|
Andrew Scheller
|
01d5cb928f
|
New source tools: booleanized, pre_periodic_filtered & post_periodic_filtered
Also adds extra parameter validation to the existing source tools, adds input
min and max to inverted, and adds many more source tools unit tests.
|
2016-04-25 10:41:27 +01:00 |
|
Andrew Scheller
|
9ca4af39de
|
Add extra Source Tools functions: smoothed, summed and multiplied
|
2016-04-19 22:02:01 +01:00 |
|
Andrew Scheller
|
53b78f1e32
|
Minor docs fix (#286)
* Minor docs fix
* Another doc fix
|
2016-04-19 16:14:31 +01:00 |
|
Dave Jones
|
79a0fd2a27
|
Fix #278
Allow the creation of remote pins easily with PiGPIOPin. Also changes
DefaultPin to a pin_factory callable which accepts the input pin number.
|
2016-04-16 00:30:22 +01:00 |
|