Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 03:47
    gsexton opened #1359
  • Jan 25 08:59
    henrygab closed #848
  • Jan 25 08:59
    henrygab closed #981
  • Jan 24 18:13
    MCUdude commented #1195
  • Jan 24 17:34
    Evelios commented #1195
  • Jan 24 17:31
    Evelios commented #1195
  • Jan 24 16:42
    botoxparty commented #1358
  • Jan 24 16:41
    botoxparty opened #1358
  • Jan 24 10:55
    zark0-UwU commented #1357
  • Jan 24 09:52
    yesyesuk commented #1279
  • Jan 24 09:29
    zark0-UwU opened #1357
  • Jan 24 09:11
    gee-ell commented #1045
  • Jan 24 09:10
    gee-ell commented #1045
  • Jan 24 08:59
    zark0-UwU commented #1279
  • Jan 24 07:48
    ccoenen commented #1045
  • Jan 24 06:40
    gee-ell commented #1045
  • Jan 24 02:37
    Civelier commented #1356
  • Jan 24 00:47
    Civelier commented #1356
  • Jan 23 18:29
    Civelier commented #1356
  • Jan 23 18:28
    Civelier edited #1356
Marc Miller
@marmilicious
Ping the Reddit group, hopefully Sam there know's how it's working under the hood.
Drew André
@drewandre
When working with 8bit math for noise + palette style animations, I see a lot of harsh jumps between colors especially at low brightnesses. I know this has been discussed before, so what keywords/general topics should I try searching for? should I look for a noise16 implementation? or is it the ws2812b chipset? should I try to blur more or maybe use a combo of additive color setting + fade to black? any pointers would help!
Marc Miller
@marmilicious
@drewandre The harsh jumps when brightness is scaled down is a downside of working with 8bit. Something that had 64 steps for example, which is scaled down to 25% suddenly only has 16 steps. This is another good question/discussion for the Reddit group if you don't mind asking there.
vasan25
@vasan25
i developing free gui software to create pixel effect. Zero coding, just use effect video to auto create a effect txt file. tested with attiny85 8mhz total 1000 ws2812b. Since the output in txt file, then can put it in flash memory. RAM not a issue. Also can use for any arduino, raspberry Pi, or any microcontroller. I would like to integrate with fastled for auto generate the ino file together with the effect. i looking for mr. kriegsman the fastled creator
Marc Miller
@marmilicious
Sounds cool @vasan25 Please feel free to share what you are working on or questions about integrating things with the FastLED Reddit group. http://fastled.io/r
vasan25
@vasan25
@marmilicious i need little more time to fix the software. I will join FastLed reddit group soon. See u there...
They are 5 channel RGBCCT LEDs using a 12 channel RGB controller
notaUser
@Applepi
It appears it will be non-trival as the library doesn't support RGBW LEDs like the SK6812, at least from my cursory reading of the source.
Marc Miller
@marmilicious
@Applepi I see you opened an issue on git hub, thank you, it's good to document these support requests and have a place for future discussion there. You're right, it's non-trivial! Eventually adding support for more then three channels and other additions is part of the plan but there's no specifics of when that will happen at this time.
notaUser
@Applepi
So would the hacky solution for now to be to treat every other pixel as the 2nd color channel? Since the first RGB on the controller (might be RGB I'm not sure I don't have the LEDs yet) and the 2nd RGB LED as the two white channels ( WW CW and NC) or whatever variation that they are wired up.
notaUser
@Applepi
https://i.imgur.com/hcowuFW.png hard to tell from the images I can find of the strip but it doesn't look they are wired in an easy to parse manner :(
But just lloking at where the Red traces go, it doesn't match up with any possible route for RED pins on the TM1812
Sir Woody Hackswell
@Hackswell
In "fastpin.h", while compiling for STM32F4, using GCC 9.2.1, I had to change the following line:
static const void portAddr() { return (void)&__t_baseType::r(); } };
to:
static const void portAddr() { return (void)&__t_baseType::r; } };
to even get it to compile...

or else I get an error: lvalue required as unary '&' operand

Is this a good change? Just a change? Or am I breaking code? And if it breaks code, why won't it work with 'r()' any more?

Marc Miller
@marmilicious
Good question! Would you mind opening a new issue and reporting what you ran into on github? https://github.com/FastLED/FastLED/issues
@Hackswell Thank you
Sir Woody Hackswell
@Hackswell
Okay!
I'm just so new to the project and thought a chat would be first before declaring it a bug.
At least I got it to compile now on STM32F4xx! Now.... to get it to work. ;)
New ticket, or add to #921?
Marc Miller
@marmilicious
No worries. It will either hopefully be explained by someone there, or will be useful to improving things. :)
Why don't you add to #921
Sir Woody Hackswell
@Hackswell
#873 might be more appropriate. ???
What's weird is that _FL_DEFINE_PORT is just fine with r() but _FL_DEFINE_PORT3 isn't. Weird dark #define and C++ majick.
Marc Miller
@marmilicious
Your call. Or you could open a new one and mention the other one(s) too.
Sir Woody Hackswell
@Hackswell
OOoh!!! So many choices!!! ;)
Sir Woody Hackswell
@Hackswell
#1005 created.
Martin Falatic
@MartyMacGyver
I'm starting to look at issues related to the Teensy 4.x devices. Are people very active here on Gitter though?
Marc Miller
@marmilicious
@MartyMacGyver hello Marty, my observations here is it's not very active. In fact I often encourage people to go to the Reddit group were lots more people will see posts. Dan used to answer some technical stuff here, but alas no more. :( If you're tackling library issues then I would suggest using GitHub so bugs/fixes can be officially kept track of. If you have broader questions for Teensy 4 users then I'd point you back to Reddit.
Martin Falatic
@MartyMacGyver
@marmilicious Thanks!
Marc Miller
@marmilicious
@MartyMacGyver And thank you for looking into some Teensy issues. Others will definitely appreciate it.
DenverClarke
@DenverClarke
I'm also more active on the Reddit and working away on the Teensy 4.0.
Marc Miller
@marmilicious
@DenverClarke Excellent, thank you.
Martin Falatic
@MartyMacGyver
Reddit tends to be a bit more of a free for all which is why I checked up on this here.
I went through and did a code format cleanup of the code base (otherwise it's a bit painful to read and edit the code). Other PR is to get doxygen updated and generate current docs (site is still on 3.1)
Teensy 4.x was WIP so I'm trying to understand how he set it all up, and make it work more like other controllers (at least from the user's perspective... Right now it's a bit of a special snowflake and that's why some things don't work quite right with it.
Gamma115
@Bl4ck_Viking_twitter
Hi guys I'm a student currently in 2nd Semester of Programming. My friend ask me to help with her arduino project in which its utilize LED. She bought a non RGB LED strip (she said). Can FastLED be used for it?
Sorry I just can't seem to find a quick answer by googling or reading since its pretty new for me and making a reddit thread is kinda too much for simple question like this.
Thanks
Marc Miller
@marmilicious
Non RGB, as in a single color? Or RGB, but non-addressable led strip? If it's only one color there isn't really much of a reason to use FastLED, although you still could. If it's a non-addressable RGB strip, yes, you can still use FastLED.
Martin Falatic
@MartyMacGyver
I must say it never occurred to me to do this. But what's an example of a non-addressable RGB strip that would actually be driven in this context (more than helping with certain data structures and conversions)?
Gamma115
@Bl4ck_Viking_twitter
@marmilicious I'm sorry for not being specific. It is just a single white LED but in form of a strip.
Gamma115
@Bl4ck_Viking_twitter
She took a photo of the LED. Here it is https://imgur.com/TtNzmWN
Gamma115
@Bl4ck_Viking_twitter
nevermind she bought this one instead https://imgur.com/a/2ajZUKj
Marc Miller
@marmilicious
@MartyMacGyver You could always think of a single color LED (whatever color) as just one of the r,g,b channels and still use FastLED to drive it. Could still design (basically brightness) patterns using palettes or use the wave functions to fluctuate the LED, timing to pulse it, etc. Don't know if using FastLED would make much sense if one had never used the library before, but if one is already familiar then it's pretty straight forward. In most cases probably overkill though!
Marc Miller
@marmilicious
@Bl4ck_Viking_twitter Well there you go! Welcome to the world of RGB. ;) Here's another basic example for analog RGB LED control. https://github.com/marmilicious/FastLED_examples/blob/master/AnalogBasicSetup.ino
You should not power your LED strip through your micro-controller unless you are only using a few pixels because it will draw more current then the controller's pins can safely provide. Power the strip with an external power supply. Search for "analog LED strip wiring" to find many guides. Wiring will look something like this (using the correct voltage for your strip of course):
https://learn.adafruit.com/assets/47917
https://learn.sparkfun.com/tutorials/non-addressable-rgb-led-strip-hookup-guide/all
If you run into questions, please post on the Reddit group and provide all necessary info about your setup. If sharing code post the code on pastebin or gist and share a link to the code.
Gamma115
@Bl4ck_Viking_twitter
@marmilicious ah ok! thank you this will be very helpful