Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 03 22:32

    dependabot[bot] on master

    chore: bump color-string from 1… Merge pull request #280 from aj… (compare)

  • Dec 03 22:32

    dependabot[bot] on npm_and_yarn

    (compare)

  • Dec 03 22:32
    dependabot[bot] closed #280
  • Dec 03 22:32
    ajfisher commented #280
  • Dec 03 19:05
    dependabot[bot] assigned #280
  • Dec 03 19:05
    dependabot[bot] review_requested #280
  • Dec 03 19:05
    dependabot[bot] labeled #280
  • Dec 03 19:05
    dependabot[bot] opened #280
  • Dec 03 19:05

    dependabot[bot] on npm_and_yarn

    chore: bump color-string from 1… (compare)

  • Dec 02 00:16

    dependabot[bot] on master

    chore: bump color-string from 1… Merge pull request #279 from aj… (compare)

  • Dec 02 00:16

    dependabot[bot] on npm_and_yarn

    (compare)

  • Dec 02 00:16
    dependabot[bot] closed #279
  • Dec 02 00:16
    ajfisher commented #279
  • Dec 01 19:04
    dependabot[bot] review_requested #279
  • Dec 01 19:04
    dependabot[bot] opened #279
  • Dec 01 19:04
    dependabot[bot] assigned #279
  • Dec 01 19:04
    dependabot[bot] labeled #279
  • Dec 01 19:04

    dependabot[bot] on npm_and_yarn

    chore: bump color-string from 1… (compare)

  • Nov 30 19:16

    dependabot[bot] on npm_and_yarn

    (compare)

  • Nov 30 19:16

    dependabot[bot] on master

    chore: bump color-string from 1… Merge pull request #278 from aj… (compare)

Jean-Philippe Côté
@djipco
@ajfisher Okay, thanks. Regarding SK6812, according to Adafruit, most (all?) of their new units now use SK6812. The one I received a few days ago does work with node-pixel. It's probably using SK6812 but I do not know how to confirm that.
Support for RGBW would be awesome but I don't think I'll have have to dive in and contribute.
*have time
Joel Gullander
@Joelgullander

I am trying to create a list of pixel.Strips and im defining it as stated below:
var strips = new pixel.Strip({
board: this,
controller: "FIRMATA",
strips: [ {pin: 2, length: 4}, {pin:3, length:4 }, ],
gamma: 2.8,
})

only way to light up those strips is by doing strips.show(), but if I want to show only the pin 2 strip how would I do that?

What im trying to accomplish is lighting up pin 2 strip and after 1 sec delay light up pin 3 strip
ajfisher
@ajfisher

@Joelgullander there's a couple of ways to achieve this.

In defining the strip the way you have you're effectively saying "compose all of these strips into one bigger strip". This is really helpful to deal with latency on longer strips because you have to push the pixels sequentially into them. Splitting to smaller ones means you can target your writes a little more effectively and get better throughput.

As such what happens is that pixels 0-3 are on pin 2 and then pixels 4-7 are on pin 3.

So you can do something like this:


for (let i=0; i< 4; i++) {
  strips.pixel(i).color("ff0000");
}

strips.show();

setTimeout(() => { 
  for (let i=4; i< 8; i++) {
    strips.pixel(i).color("ff0000");
  }
}, 1000);

The other option is define 2 Strip objects on separate pins and then control them independently from each other.

NunnoXYZ
@nunnoXYZ
hello !
hey guys can someone point me out a way or a tutorial to get working with a 4 pin led strip (5050) ?
NunnoXYZ
@nunnoXYZ
ajfisher
@ajfisher
@nunnoXYZ This type of strip isn't supported by this library. You can drive it simply using a standard RGB LED object from nodebots.
Norberto Purtschert
@npurtschert
Hi. Is there the posibility to use this library in another HW like an UP box? Check here ;) http://www.up-board.org/upsquared/
carloposo
@carloposo
What version on Node is node-pixel compatible with?
carloposo
@carloposo
Is there a possibility to destroy the USB of the Mac if fps are too high?
Benjamin E. Coe
@bcoe
anyone kicking around? I'm attempting to connect to an Arduino Micro, from a raspberry pi, over usb, with the firmata installed.
the connection seems to hang indefinitely.
Benjamin E. Coe
@bcoe
got it working, I think the baud rate needed to be 28800 in the firmata software)
ajfisher
@ajfisher
@bcoe that seems a bit odd. Not sure why the baud rate was set that slow?
keaixx365
@keaixx365
Anyone here
keaixx365
@keaixx365
@ajfisher It runs into error when flash Backpack using "interchange install git+https://github.com/ajfisher/node-pixel -a nano", Error: Sending 3020: receiveData timeout after 400ms.
@ajfisher any idea on this error?
keaixx365
@keaixx365
@ajfisher is this tool possible to support more than 1000 leds?
Nuno Marujo
@nhmarujo
Hi everyone. Is it possible to set individual brightness levels when using a strip?
I mean, define brightness per led
Eric Johnson
@ericdjohnson_twitter
Hi all, I ran into an error when trying to connect my strip of WS2812b LEDs to my Raspberry Pi 4: 1583152030510 Board No connected device found How do I go about debugging this? I was able to get node-red's neopixel node working and able to control my strip.
Abhishek Chaudhary
@theabbie
LooLooAsuna
@LooLooAsuna
whats the best way to change the brightness of the leds
Malte
@qMalte
2021-06-29 17_34_47-Window.png
Hello, my pixel Strip Object has the value: "Strip { dep_warning: { stripLength: false, gammaValue: false } }". The led is unfortunately not controlled, does anyone have an idea what it could be?