Wykres commitów

26 Commity (main)

Autor SHA1 Wiadomość Data
Blaž Rolih 15f27b80cc
Merge branch 'main' into fix_glitching 2024-03-31 22:49:15 +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
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
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
blaz-r a36f379c3a Added docstrings to functions 2022-07-10 15:15:18 +02: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
Mathemmagician 9754b84d20 Adding clear function and removing delay from fill 2022-03-06 16:48:23 -05: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
blaz-r 14870677d4 Fixed function so the hue stays in 2^16 range 2021-07-18 15:03:30 +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 ef3af1a746 added support for all orders of RGB / RGBW 2021-04-12 16:04:03 +02:00
blaz-r 3b6bfaf8f8 added library code 2021-04-12 14:24:35 +02:00