Search found 8 matches

by JimHudd
Fri Mar 29, 2019 8:24 am
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Re: Neopixel RGBW

That's good to know, thanks for that. I have a feeling I migth be going right back to writing something pretty much from scratch that will send the data out to the NeoPixels. I'm stuggling to find a datasheet for the RGBW pixels at the moment, the only datasheets I can find are for the RGB pixels an...
by JimHudd
Fri Mar 29, 2019 8:05 am
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Re: Neopixel RGBW

There seems to be a couple of options. There's also the C/C++ library that underpins MicroPython and the blocks editer (and others) available for use so I'm going to look at using that. I've seen stuff about using the SPI bus (about which I currently know nothing!) and not relying on arrays for pixe...
by JimHudd
Thu Mar 28, 2019 7:24 pm
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Re: Neopixel RGBW

Thanks for this. I did have a quick look at this while seeing if there was anything else on Github. I need to improve my Python a bit to get my head around some of it but it does indeed look like a starting point. I'm also thinking the project I was going to do may be better done with an Arduino any...
by JimHudd
Wed Mar 27, 2019 10:47 am
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Re: Neopixel RGBW

From what I can tell there's a C/C++ API for the Arduino that can be used/adapted for the MicroBit but if I need to dust off my assembler hat then so be it. Ultimately I could go to a lower level and find out the timings for sending data down an IO line to the strip, but the only datasheet I've foun...
by JimHudd
Wed Mar 27, 2019 7:51 am
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Re: Neopixel RGBW

Going back to the Github item I was looking at regarding RGBW support for the NeoPixel MicroPython module (https://github.com/micropython/micropython/issues/2478) I think I've misread the thread. One of the contributors stated that RGBW is supported in the driver, which I think is referring to the u...
by JimHudd
Tue Mar 26, 2019 10:32 am
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Re: Neopixel RGBW

Assuming I'm reading Github correctly it's already been included. My problem is that I don't know how to get that into my MicroPython code in the MicroBit python editor. Perhaps it will be clearer if I'm using an offline IDE. I'm still not 100% clear on how python "magically" knows where to get the ...
by JimHudd
Tue Mar 26, 2019 7:38 am
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Re: Neopixel RGBW

Hi, the part number for the LED strip is ADA2842.

I'll take a look at the Mu Editor, thanks for that.

Regards, Jim.
by JimHudd
Mon Mar 25, 2019 3:12 pm
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 15947

Neopixel RGBW

I'm trying to use an RGBW NeoPixel strip from my MicroBit and it works using CodeBlocks but I can't get access to the white pixel using MicroPython (https://python.microbit.org). It looks like the version of the neopixel module is an old version before the 4 colour LED's were supported. Despite a lo...