Brennen Bearnes
896a76d4e8
remove extraneous as e from catch
2018-10-10 14:13:39 -06:00
Brennen Bearnes
2f5d69172a
catch NotImplementedError when using bitbanged pins
...
On the Pi / CPython, I'm getting NotImplementedError here rather than ValueError.
This pull makes the assumption that ValueError is still necessary on CircuitPython.
2018-10-10 14:06:45 -06:00
siddacious
510566c9a2
fix for issue #27 , _set_value() not accepting ints
2018-09-19 01:30:20 -07:00
Dan Halbert
c5a0a9d1ab
remove math dependency; other speedups
2018-05-23 23:28:14 -04:00
mcscope
8ed5aa40fe
reduce scope of changes
2018-05-14 13:44:36 -07:00
mcscope
91ea188720
polish
2018-05-14 13:43:51 -07:00
mcscope
f41df7635d
polish
2018-05-14 13:32:52 -07:00
mcscope
d4f2e98cca
polish
2018-05-14 13:18:23 -07:00
mcscope
a89675983d
Update doc
2018-05-14 13:05:39 -07:00
mcscope
401c316297
I realized rebuilding the buffer on every show is an important part of the behavior
2018-05-14 13:02:10 -07:00
mcscope
4eed4e0a8d
Merge advanced dotstar and regular dotstar at Scott's direction
2018-05-14 13:02:10 -07:00
Scott Shawcroft
dfd0b4c868
Merge pull request #18 from mcscope/color_orders
...
Support Color Order setting
2018-05-14 15:54:33 -04:00
mcscope
1b877e1c61
start header doesn't need to be instance val
2018-05-14 12:13:57 -07:00
mcscope
a8d4010674
Typo
2018-05-14 12:13:57 -07:00
mcscope
c033bd4521
Support Color Order setting
2018-05-14 12:13:57 -07:00
Margaret Sy
befd88bac8
make dotstar size calculation in __setitem__ consistent with __getitem__
2018-05-14 12:11:58 -04:00
Margaret Sy
2560cd0895
__getitem__ uses self._n instead of self._buf // 4
...
- self._buf would be incorrect if there are headers
- https://github.com/adafruit/Adafruit_CircuitPython_DotStar/issues/9
2018-05-14 12:09:28 -04:00
Matt Trentini
503e85456e
Changing brightness will now update the strip if auto_write is True. See Issue #10 .
2018-02-10 21:21:49 +11:00
Scott Shawcroft
bc1051c21e
Turn on lint checking and consolidate python requirements.
...
Having the dependencies in .travis.yml makes it clearer that it
has no runtime dependencies.
2017-12-05 17:13:11 -08:00
Kattni
937ab30913
Added import math
...
math.ceil is used in the library but import math was not included.
2017-11-14 07:42:30 -08:00
Kattni
30485eddd0
Updated neopixels to dostars in doc
...
:param bool auto_write used neopixels instead of dotstars. This has been updated.
2017-10-03 11:01:31 -07:00
Dan Halbert
e1d3b10a62
Fix brightness for single pixels. Fix __getitem__ for slices.
...
__getitem__ was referring to .bpp, which didn't exist.
Not sure what was wrong with brightness, but I cleaned up the code a bit.
Tested on a Gemma and on a DotStar strip.
2017-09-14 13:50:13 -07:00
Scott Shawcroft
396e1a896c
Use 1.0 rather than 0.99.
2017-09-12 10:36:30 -07:00
Scott Shawcroft
88fb096b0e
Fix brightness. Fixes #2
2017-09-11 19:04:10 -07:00
Scott Shawcroft
14205d83ea
Cookiecutter the library and update to match NeoPixel API. ( #1 )
...
Cookiecutter the library and update to match NeoPixel API.
2017-09-06 14:24:50 -07:00