Blaž Rolih
7e59515bf9
Merge pull request #18 from mcarlson/fix_glitching
...
Update default delay to 300 microseconds per Adafruit
2024-03-31 22:49:51 +02:00
Blaž Rolih
15f27b80cc
Merge branch 'main' into fix_glitching
2024-03-31 22:49:15 +02:00
Blaž Rolih
7c97c8b15a
Merge pull request #19 from mcarlson/Add-length,-getter-and-array-replacement-for-better-list/array-like-support
...
Add array/list-like methods
2024-03-31 19:52:38 +02:00
blaz-r
89b06f4383
Decouple color and pixel indexing
2024-03-31 19:46:20 +02:00
Blaž Rolih
8f158e6390
Merge branch 'main' into Add-length,-getter-and-array-replacement-for-better-list/array-like-support
2024-03-31 19:15:27 +02:00
Blaž Rolih
30f8314330
Merge pull request #21 from blaz-r/improve_show
...
Improve data transfer in show()
2024-03-31 19:00:51 +02:00
Max Carlson
9e956e518d
Add array/list-like methods
2024-02-02 16:34:28 +02:00
Max Carlson
093b30ea17
Update default delay to 300 microseconds per Adafruit
...
https://adafruit.github.io/Adafruit_NeoPixel/html/class_adafruit___neo_pixel.html says we need 300 microseconds delay. This definitely helped glitching on my setup!
2024-02-02 15:58:53 +02:00
blaz-r
aef5b0db81
Improve data transfer in show()
2023-07-03 13:47:50 +02:00
Blaž Rolih
8012e3b6a6
Merge pull request #10 from Footleg/main
...
Added a method of read the colour of any pixel
2023-01-22 16:53:20 +01:00
footleg
d913fdf9a6
Implemented changes to getPixel from code review
2022-12-28 21:16:10 +00:00
Footleg
1c52ec7ffc
Updated with latest changes to forked library
...
I realised I had lost changes made to the library I forked from, so restored these and added rgbw support to my get pixel colour method (untested as I don't have a suitable LED device to hand).
2022-11-07 17:39:49 +00:00
Footleg
a1f6e8987f
Added get_pixelRGB method
...
Added method to read back the RGB colour of any pixel
2022-11-07 17:06:42 +00:00
Blaž Rolih
3f50b85c5f
Linked documentation in readme
2022-07-10 15:23:50 +02:00
blaz-r
a36f379c3a
Added docstrings to functions
2022-07-10 15:15:18 +02:00
Blaž Rolih
c8e4c36649
Merge pull request #6 from gsmith-to/to_upstream
...
Add 'assign to slice' (__setitem__) method, plus various speed improvements
2022-06-08 20:08:13 +02:00
Greg Smith
80ee99748f
add examples/set_range.py
2022-06-07 19:56:08 -04:00
Greg Smith
3e817f90c4
faster loop in "show"
2022-06-06 18:25:34 -04:00
Greg Smith
7bc29398d2
faster generation of zero-arrays
2022-06-06 18:25:34 -04:00
Greg Smith
4932d91202
hoist some invariants in set_pixel_line_gradient
2022-06-06 18:25:34 -04:00
Greg Smith
e4b2465eaf
make set_pixel handle a slice; add __setitem__ method
2022-06-06 18:14:41 -04:00
Greg Smith
2293525434
make "shift" a tuple
2022-06-06 18:14:16 -04:00
Greg Smith
5a59a8f50b
add __slots__ to Neopixel class (as comment!)
2022-06-06 18:12:31 -04:00
Greg Smith
04d6a2e49c
create data member W_in_mode
2022-06-05 19:06:09 -04:00
Greg Smith
a93b872f11
factor how_bright/255
2022-06-05 19:03:34 -04:00
Greg Smith
7dc24c256a
default parm values for rotate_left/right; fix some "== None"
2022-06-05 18:59:34 -04:00
Blaž Rolih
f4396614c6
Merge pull request #5 from Mathemmagician/feature/clear
...
Adding clear function and removing delay from fill
2022-03-06 23:16:38 +01:00
Mathemmagician
9754b84d20
Adding clear function and removing delay from fill
2022-03-06 16:48:23 -05:00
Blaž Rolih
cfc38951dc
Merge pull request #3 from AndrewdAzotus/patch-1
...
Update neopixel.py, pixels can now have individual brightness
2021-12-28 00:55:59 +01:00
Andrew J. Davis
a93a5532f0
Update neopixel.py
...
Amended to allow pixels to be set at non-default brightness
2021-12-26 18:09:47 -04:00
Blaž Rolih
139529c148
Updated readme, links now point to main branch
2021-09-29 23:19:12 +02:00
Blaž Rolih
f5c689afb9
Merge pull request #2 from blaz-r/develop
...
HSV color support
2021-07-22 10:41:03 +02:00
blaz-r
5461dbac50
Updated readme
2021-07-19 09:19:15 +02:00
blaz-r
a542384d0a
Updated readme
2021-07-18 15:04:40 +02:00
blaz-r
14870677d4
Fixed function so the hue stays in 2^16 range
2021-07-18 15:03:30 +02:00
blaz-r
05be57279b
Added HSV example
2021-07-18 14:56:04 +02:00
blaz-r
11eac97d4f
Added support for HSV color
2021-07-18 14:10:49 +02:00
blaz-r
77e21be074
fixed some mistakes in comments
2021-04-12 16:41:24 +02:00
blaz-r
cb63346324
updated readme for RGB/RGBW order
2021-04-12 16:10:23 +02:00
blaz-r
ef3af1a746
added support for all orders of RGB / RGBW
2021-04-12 16:04:03 +02:00
blaz-r
c6f9acbb5b
updated readme
2021-04-12 14:38:05 +02:00
blaz-r
fc7406dfda
added examples
2021-04-12 14:25:05 +02:00
blaz-r
3b6bfaf8f8
added library code
2021-04-12 14:24:35 +02:00
blaz-r
ecbfdc71b8
added license
2021-04-12 14:23:22 +02:00
blaz-r
b9b28491c5
first commit
2021-04-12 14:19:32 +02:00