These are chat archives for Makuna/NeoPixelBus

6th
Mar 2016
Michael Miller
@Makuna
Mar 06 2016 01:17
Anyone with experience with FastLED?
sticilface
@sticilface
Mar 06 2016 07:24
Afraid not!
Michael Miller
@Makuna
Mar 06 2016 07:29
I was trying to understand the appeal of using index into a pallette rather than true 24 bit colors. Pallettes are so 1991.
Aditya Tannu
@AdySan
Mar 06 2016 07:31
Btw,
probably
off topic, but you got any neopixel library for arm cortex m0? Planning to do something with nRF51822
Michael Miller
@Makuna
Mar 06 2016 07:33
The new one supports some arm platforms. The same support as Adafruit. What has the m0?
Aditya Tannu
@AdySan
Mar 06 2016 07:34
The nRF51 has arm core
Want to make a Philips Hue kinda thing with this https://github.com/aanon4/HomeKit
Michael Miller
@Makuna
Mar 06 2016 07:34
I meant name of a product, not chip.
Aditya Tannu
@AdySan
Mar 06 2016 07:35
mm RedBearLab BLE Nano
Or wave share BLE400
Or lots of generic iBeacon thingies on eBay
Michael Miller
@Makuna
Mar 06 2016 07:36
Do they have arduino board support?
Aditya Tannu
@AdySan
Mar 06 2016 07:36
Yes!
Michael Miller
@Makuna
Mar 06 2016 07:37
Did you try my library 😃
Aditya Tannu
@AdySan
Mar 06 2016 07:37
Nope haven't got the board yet, just collecting the pieces
Michael Miller
@Makuna
Mar 06 2016 07:37
It may fit one of the already present arm metgods.
Methods, not metgods
Aditya Tannu
@AdySan
Mar 06 2016 07:38
I thought this was ESP specific
If it works, that's great though, don't really need any I2S or UART driven support, just some convenient fading and HSL support.
Michael Miller
@Makuna
Mar 06 2016 07:40
Not anymore, well actually it started 5 years ago as AVR, there custom branches for esp, but I just rearchitected it all into one, so it supports a bunch of platforms. See wiki for docs on the V2 which is master branch and shows up in Library Manager.
Aditya Tannu
@AdySan
Mar 06 2016 07:41
Ok will do, thanks!
Michael Miller
@Makuna
Mar 06 2016 07:43
Was there anything special about getting the Arduino board support for the nRF51?
Or did they just come with the standard Arm boards?
sticilface
@sticilface
Mar 06 2016 07:44
@Makuna no idea there either. I've made some palette stuff but more for generating groups of colours for effect. Can't help re fast pixel though. Sorry.
Michael Miller
@Makuna
Mar 06 2016 07:46
@AdySan post a link to board and I will take a look tomorrow.
Aditya Tannu
@AdySan
Mar 06 2016 07:46
No idea, for most generic boards getting the boot loader on it is the tricky part. For the BLE nano. It comes with a SWD interface so rather easy http://redbearlab.com/getting-started-nrf51822/
I'll give your library a shot when I actually get the board and report backX
Michael Miller
@Makuna
Mar 06 2016 18:09
@AdySan I gave it a try (compiled only), it doesn't currently match any of the Arm defines I have.
First though, you may want to give them feedback that they are missing yield () function. Arduino added this "optional" api, important for all the 32bit chips due to core requirements. Even most AVRs use it.
Aditya Tannu
@AdySan
Mar 06 2016 18:10
will do, looks like RedBearLab is the one making the Arduino port. Chip ain’t got many fans..
anything better than this style guide to point to? https://www.arduino.cc/en/Reference/APIStyleGuide
or maybe the function ref itself https://www.arduino.cc/en/Reference/SchedulerYield
Michael Miller
@Makuna
Mar 06 2016 18:17
That link https://www.arduino.cc/en/Reference/SchedulerYield is probably best. I know its optional as Gemma (AtTiny) doesn't support or have it; but almost everything else does.
No, that will block, yield() will return if there is nothing that needs to be done by the core.