by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 14:26
    jordanadania commented #827
  • 05:46
    BradMcc522 commented #827
  • Aug 10 14:05
    MLDMoritz opened #1068
  • Aug 09 22:35
    oraclesod commented #787
  • Aug 09 21:00
    bdaroz opened #1067
  • Aug 08 20:15
    BenoitAnastay commented #1047
  • Aug 08 19:38
    endotronic commented #1047
  • Aug 08 19:30
    ntwallace commented #1047
  • Aug 08 18:53
    nomotion7 opened #1066
  • Aug 08 18:40
    endotronic commented #1047
  • Aug 08 17:29
    ntwallace commented #1047
  • Aug 08 04:41
    endotronic commented #1047
  • Aug 07 18:00
    PhilColbert commented #1064
  • Aug 07 00:28
    TreeDan opened #1065
  • Aug 06 18:31
    marmilicious commented #1064
  • Aug 06 12:51
    BenoitAnastay commented #1047
  • Aug 05 10:37
    PhilColbert opened #1064
  • Aug 03 10:00
    henrygab commented #1055
  • Aug 03 09:58
    henrygab commented #1055
  • Aug 02 23:38
    DerDude87 commented #579
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
and i will post it on reddit if there is more question since I will know which question to ask Thanks again!
Adhocrates
@IspdChaos_twitter
Having trouble with fastled on an Adafruit Trinket, all of the leds in my pixel string are set to full white (RGB) and don't blink when running the blink example.
adafruit_neopixel lib does work.
num
er NUM_LEDS does determine how many pixels are illuminated, so there's that
Adhocrates
@IspdChaos_twitter
I'm wondering if it's a timing thing. Maybe I can adjust the data rate? don't seem to be able to on 3-wire pixels
Marc Miller
@marmilicious
@IspdChaos_twitter Please create a post on the FastLED Reddit group, hopefully some other Trinket uses can help. Mention what type of pixels you are using, and make sure you are using the latest version of the FastLED library.
https://www.reddit.com/r/FastLED/
XN4k33Db
@XN4k33Db
Good. I am using the leds addressed with fastled and on the led display I put a message with scrool, but when in the loop the fastled runs "atract" sequence ... my display is blocking the scrolling of the text. can you give me a way to solve this?
Alexander Craggs
@popey456963
Hey, I wish to buy a 30M LED strip and control it with FastLED.
I'm a little worried about bandwidth, any advice on models / what I can do?
Marc Miller
@marmilicious
@popey456963 That's a good question for the FastLED Reddit group. When you ask you should also mention how many pixels / meter you want, but because 30 vs 60 would make a big difference for example. Providing a sketch or description of the layout might be useful.