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
Carter Nelson
cd5053419c
Merge pull request #28 from siddacious/master
...
Nice! Thanks for catching and fixing.
Problem reproduced and fix verified using Trinket M0 onboard DotStar. This now produces a nice happy pink dotstar:
```python
Adafruit CircuitPython 3.0.2 on 2018-09-14; Adafruit Trinket M0 with samd21e18
>>> import adafruit_dotstar
>>> import board
>>> led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
>>> led[0] = 0xEA6292
>>>
```
2018-09-29 16:53:10 -07:00
siddacious
510566c9a2
fix for issue #27 , _set_value() not accepting ints
2018-09-19 01:30:20 -07:00
sommersoft
fe9109e321
ignore the board module imports in .pylintrc
...
Signed-off-by: sommersoft <sommersoft@gmail.com>
2018-08-25 14:02:58 +00:00
Brennen Bearnes
7027880522
Merge pull request #26 from kattni/pypi
...
PyPi setup.
2018-08-03 17:20:49 -06:00
Kattni Rembor
5f1783a780
PyPi setup.
2018-08-03 15:52:22 -04:00
sommersoft
1d2d589011
updated CoC
...
Signed-off-by: sommersoft <sommersoft@gmail.com>
2018-08-01 03:27:57 +00:00
Scott Shawcroft
af25424ee7
Merge pull request #24 from dhalbert/speedups
...
remove math dependency; speedups
2018-05-24 08:43:05 -07:00
Dan Halbert
c5a0a9d1ab
remove math dependency; other speedups
2018-05-23 23:28:14 -04:00
Kattni
bcf558c595
Merge pull request #20 from mcscope/patch-1
...
Update README.rst
2018-05-15 17:23:58 -04:00
Christopher Beacham
bfaef918e9
Update README.rst
2018-05-14 14:47:06 -07:00
Scott Shawcroft
c2b8172e9a
Merge pull request #19 from mcscope/advanced_dotstar
...
Expose individual brightness modification in stock dotstar library
2018-05-14 17:03:44 -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
mcscope
db655e0895
Move this into a subfolder
2018-05-14 13:02:10 -07:00
mcscope
bab0a7f3c9
This is cleaner
2018-05-14 13:02:10 -07:00
mcscope
8d5ffd86ad
Improvements from testing
2018-05-14 13:02:10 -07:00
mcscope
cc75991b41
spacing
2018-05-14 13:02:10 -07:00
mcscope
3147eb752d
Add an api-breaking Advanced Dotstar class that lets you set individual brightness
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
Scott Shawcroft
144bb077fa
Merge pull request #17 from margaret/consistent_get_set
...
(#9 ) change __getitem__ to use self._n instead of self._buf // 4
2018-05-14 15:47:38 -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
Kattni
f9e56755e9
Merge pull request #14 from sommersoft/new_docs
...
Improve Ref Docs
2018-03-11 17:01:03 -04:00
sommersoft
2d6ce1535b
updated README; added Travis badge
2018-03-10 09:43:07 -06:00
Kattni
b196cb485a
Merge pull request #13 from sommersoft/new_docs
...
Improve Ref Docs
2018-02-25 20:16:41 -05:00
sommersoft
85327027c9
updated README
2018-02-24 20:28:29 -06:00
sommersoft
25f5ec9807
updated .travis & .readthedocs yml
2018-02-24 20:26:40 -06:00
sommersoft
3d40f99b45
setup docs folder
2018-02-24 20:24:09 -06:00
sommersoft
a14bd1f182
renamed example
2018-02-24 20:19:07 -06:00
Scott Shawcroft
b9894d7682
Merge pull request #12 from mattytrentini/master
...
Changing brightness will now update the strip if auto_write is True. …
2018-02-10 09:29:52 -08: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
492dc83ca0
Merge pull request #11 from mrmcwethy/examples
...
added examples folder and .py file
2018-02-09 08:52:30 -08:00
mrmcwethy
e64dd6feba
improved code sample
2018-02-09 09:08:44 -07:00
mrmcwethy
7997057de1
added examples folder and .py file
2018-02-08 12:56:59 -07:00
Scott Shawcroft
3d3a039e39
Add RTD.yaml and requirements as cookiecutter would generate them.
2017-12-05 18:11:56 -08:00
Kattni
332c389301
Merge pull request #8 from chickadee-tech/master
...
Turn on lint checking and consolidate python requirements.
2017-12-05 20:51:10 -05: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
Scott Shawcroft
e0cf206eb1
Don't use requirements.txt with RTD
2017-12-01 16:21:36 -08:00
Scott Shawcroft
77d751a3a2
Tweak the doc badge
2017-12-01 16:19:10 -08:00
Scott Shawcroft
99fe01102f
Add build tools into the requirements.
2017-11-30 15:55:22 -08:00