I can't tell you how validated I feel seeing a legendary Microsoft developer write such beautiful code only to forget to call it. Makes me feel a little better.
YES!!!!! This is just what the doctor ordered for an old guy (83+) that loves to tinker with stuff. I’ve copied and pasted a few addressable LED strip routines and enjoyed sharing the blinking lights, but this gives me an idea about what can be done to explore it more fully. I’ll be checking out more of your videos. Thanks for the excellent work!
I'm loving this. I bought a set for my dad to tinker, and recommended it to a few friends. I love how you explain the led logic, the code organization, and failures. Thanks for doing this. The multiple views is great for following along at home
You do an amazing job with the presentations - content and delivery. For a guy just getting back to my youth coding roots after decades of management paper pushing - your vid’s are GREAT! Hope after all these years you’re still enjoying it!
Just started a project that use these and there haven't been many good in depth videos about them until I found yours. The demonstration of the led functions are really appreciated as I did find some videos showing the code but not what it would make the LEDs do. Just my luck your videos were released recently just before I get stuck into my project more, thanks.
iDirection tip is exactly why i love this series, been programming for years and would not of thought of that. I don't know when I will ever use that but its great to have another tool in the kit.
This is fun. I removed the pass count, doubled the number of "colors" adding 50% black now it randomly changes the color of random leds including black turning some off. Very cool!
Excellent video Dave! I love the way you present the material. It's easy to follow along and beneficial to see you build the code one line at a time while explaining the thought process. Showing how header files are made, used, and included is helpful. Keep up the great work!
Awesome!! Thanks to your video I just saved $50 by watching this, I was planning to buy custom programmed arduino led strips but now hehehe thanks again!!!
Awesome, Dave. Thank you. 👍 I am glad to see this one so quick after the Marquee, but I am still debugging a small issue with my typing the code for Marquee. With my schedule, I can work on your tutorials every once and a while, but hoping to debug Marquee tomorrow, then work on the Comet effect also. Learning a lot watching your series and loving the content you provide. Keep it up.
@@DavesGarage Thanks Dave. I did have some time today to look at it and found the problem. I initially thought all was looking great - the black spots were doing what they needed to do and I wouldn't have even known it was a problem, but remembered you saying that the rainbow and black spots would "walk" in opposite directions. However, the rainbow was stationary. Anyways, the difference came down to "j += 4" in the drawMarquee function. I initially had it as a "=+". Damn syntax errors. 🤣 Didn't get to "Twinkle/Comet" yet, but looking forward to it. Thanks again for the great videos. 👍
Dave... awesome series!!! Very fun to follow along - and while my typing skills aren’t freaky fast like yours (and thus the pause button gets hit often...) the concept behind what you are doing is appreciated! Thank you!
Hello Dave, I see you are a man of your word! Thanks so much for your video. Wow your are a former Microsoft developer, I would kill to have such knowledge 🙄. Once again thx, really helps to understand FastLed. Now looking up on github and elsewhere to find complete data with library function list. Great job! 😃
Great job with this series, for days I have been looking for a good tutorial on FastLED and this is the one that finally made sense to me. Thank you very much! I'm looking forward to more videos
Thank you so much for this. I'm in desperate need of FastLED examples, hense i'm not a strong enough coder. So whatever inspiration i can get, is welcome :-)
Hey Dave another great video! I'd suggest doing the effects without delays too, like you displayed the oled display. And although I prefer to do it your way, you could show off the EVERY_N_MILLIS macro available in FastLED. And don't forget the beatsin, and triwave functions (also very useful for moving back and forth dots).
@@JamesGB81 Guess that depends on what you want. If you want real time involved for whatever reason (i.e. activate an effect at a specific time) than you might, if not, I'd stick to already available methods. (I've never used these libraries).
@@joryp1158 thanks, well the idea would be to avoid using a delay(), and sure millis() can be used, the thing is I think time libraries exist, just to make things less painful, I haven't worked my millis() using enough to time events perfectly performed 😀
Hey Dave, I’ve recently discovered your channel and have enjoyed the videos. It’s so satisfying watching a real pro code in C. Rather than a lot of these young guys on TH-cam that present tutorials on this or that new web technology that they just barely learned themselves.
Going through all the videos has certainly been an educational experience for someone who knows pretty much zero C++. In this episode, all was going well until I inserted the " const double cometSpeed = 0.5 " line.. What happens is when saving and compiling, the next line "static byte hue = HUE_RED;" errors out with "hue not defined".. I chased around both Main.cpp and comet.cpp until I just removed that "const double..." code, where it all worked again. I am quite pleased with the affect, but lost several hours, filled with confusion, trying to figure out what I did wrong. Any Ideas??
Thanks for doing this!! I installed four strips of LEDs in my Kitchen in a 4 row, 200 column array (back top cabinet, front top cabinet, under top cabinet, and under bottom cabinet) and I used an Ardiuno Duo with FASTLED. I was surprised that I ran out of memory when I created/use all four strips. What advise can you provide on a new controller with more memory? Also I had hopes of programing the following patterns but they may provide a challenge for you: Matrix rain with puddle ripples, Ocean swell and break, fireworks, Pacman being chased by ghosts, Another challenge I have is to make very slow and smooth animations. How would you make your comet 60 times slower but still be interesting? Maybe add random reverse fadeToBlack, or a shimmer effect? Thanks again
That was a fun implementation, I been working on my own led strip effects lately, I like how you call the one time through a frame, this seems to make sense to update frames, my own effects just use tons of nested loops but I got some interesting effects nonetheless. one step at a time. I also like to fade certain colors more or less than others in different effects, My last attempt was trying to make the fireworks style, with my own childhood impacted by knight rider but in my own way Im also making a connection machine style led display behind the grill of my 65 impala wagon.
Thanks for your videos. I’m wanting to do two output pins running two comets/strips. They’ll be starting at the same spot on an object and go around opposite sides of a perimeter of the object to meet at a set point on the other side. Then they return back to meet where they originally started. The issue I’m having is the distance they each travel is different, so one needs to go faster than other to meet together, and that strip also has more leds than the shorter one. I’ve tried different ways, and cannot seem to get the two segments to work simultaneously and independently. I essentially need two comet codes working at the same time, but with different speeds and number of leds. Modifying the speeds is easy enough to have them meet at the same time, but having the two comets going at the same time is tripping me up. Any advice?
Thank you so much for this series -- exactly what I've been looking for!! Quick note: Could you pause the video for a moment or two after you finish typing out code before you cut away . . . since I am trying to enter the code you are typing into my computer along with the video, I need to pause the video to make sure I have the code written correctly, but sometimes you cut away so quickly I can't pause the screen with the complete code visible. Apart from that one issue, I love the series . . . cheers!
You can get more sparkles on the end if you increase the random number to like 5 (less likely to be picked to fade), and then increase the fade amount to like 100 (less likely to be picked to fade a larger amount).
Great tutorial, I'm learning a lot. Thanks for sharing! I have a quick question regarding fadeToBlackBy. Fading a color, lets say an Orange, CRGB(255, 128, 0); will change it's hue while fading down. The green channel will have faded to black before the red channel, therefore leaving the pixel a dim red before turning off. For my project the change in hue is distracting. Is there a fadeToBlackBy for HSV colors that just fades down the value part and therefore doesn't change the Hue? Is there another way of doing this with out using the fadeToBlackBy command? Thanks for any insight, much appreciated.
I got an esp 32 and the fourth time plugging it in I had the little plug I made plugged in backwards. I heard the fan kick on in my power supply and knew right away... Oddly it still plays what is flashed on it but no OLED or onborad leds and it won't flash. though it does connect to COM port. Good thing they are only $15. I'm so used to using the barrel connector on the Arduinos
I am new to arduino. I just bought a arduino mega 2560 R3. In your description you have a link to the Heltec ESP32 module. Will the code work with the arduino mega 2560 R3. If so what pins should I use. Thanks for any help.
Hi Dave, great series! I'm curious why you draw the comet first, and then fade the entire strip? Doesn't this fade the comet as well (even if it's just one iteration)? Is it to add some randomness to the comet?
Uninteresting fact: A comet's tail does not (necessarily) move in the opposite direction of the comet's movement. It moves with solar wind. The only time the tail moves in the opposite direction is when the comet is moving toward the sun.
Hey there, could you try to recreate the northern lights/aurora borrealis effect with such strips? I found a paper but couldn’t think of a good logic to fade between the purple green moving shades.
Great stuff! Can't wait for fireworks or Halloween animations. Any suggestions for materials or methods, led strips, leds/meter, connectors, power, cables, etc. for installing long runs outside like your pool house? Why is an old Microsoft guy using a Mac??
I love this and added this to my Garage PIR light, at night it animates to full white (with candy cane effect if month = 12) and in the day (using NTP and sunrise algorithms) it does a similar comet effect. My question is that I created similar effect files but I have an effect.h and effect.cpp file. In the effect.h I have a prototype for the effect.cpp function. Whereas here we implement in the .h file. For some things where its very basic that is also what I do. Did I miss a step where thats explained and what are the rules? I find it a pain to refactor and add a .h and .c file every time and I always prefer he absolute simplest approach I can get away with - but obviously if I share my code it has to be organised such that others can read it. So what normally happens is I have an idea which I want to try with the least possible changes to the code, so I end up with a function in the main.cpp but then when I realise that its got enough to be split into a better structure I then gather up anything that should be together and peel off into its own file and if that gets chunky enough a library. I realise this may be backwards but thats the way around I usually do it if its a continually creative project rather than a fully defined one. Am I weird?
I love these; been following along and learning a lot. Do you take requests? I’d be really interested to learn how to use either the Serial port on the ESP32 or WiFi and a web server on the chip to have a PC give the strip a signal to change the effects.
@@jeffsteinbok Dave i think in your first Tiki umbrella you mentioned wifi, bluetooth and web server, are these still on your plans to do videos on those, It would be very much appreciated by us followers. I plan to intergrate my controller with my smart home via DMX (almost sorted) but other options will be great especially when my friends start wanting me to do some lights for them
Amazing!!... One question, To have different effects you need to code all of them and upload to arduino. How can I select the effect separately without going through all of them ? Many thanks.
You could do it on a timer, perhaps? Make up your set of 6 effects, let's say, and then use the EVERY_N_MILLISECONDS macro to change which one is active?
Hey Dave, thanks for the channel, I've enjoyed watching this series on led pixels. Question for you, or anyone willing to help. On my standard Arduino Uno and the comet code on 100 leds, everything works pretty good, but when I scale it to cover 500 leds it becomes very slow. Is there anything you can think of that can speed that up? My 500 leds are fixed to my house and it takes a little over a minute for a comet to make a round trip. I know there is a lot of pixel rendering going on, but man, this would look great if it zipped across quickly.
I never even saw the leds. Why not show them to us while you do it. I do appreciate all the stuff you put out though.Could it because I am watching on a phone.ok I see if I hold the phone vertically I see it but if I hold it wide screen it doesnt show bad youtube.
I really like your videos. While you sometimes feel you microsoft history, I have a similar desease with my embeded software history. If you write huge code for little embeded chips, you think twice before declaring a static variable and any kind of delay is a NoGo :o) I really need to get rid of such habits, if I write little code on 'huge' chips like esp8266.
hey guys i have a question, i am not a programmer... so, with a LED strip i wanna create a pulsing effect that fade in out in different time exposure, but in a totally random timing... i don't know really how to explain that :) in my mind looks like it's alive... anyone that has an idea how can i make it happen? Thanks a lot! ;)
I wish I even knew where to start. Zero coding experience. It's fine to cut/paste someone else's code into ide, but knowing how/what to type is better.
Why don't you show us what all these changes do ? I appreciate your instruction, but it is extremely hard to understand what your doing by just seeing the code and not the real effects.
I can't tell you how validated I feel seeing a legendary Microsoft developer write such beautiful code only to forget to call it. Makes me feel a little better.
YES!!!!! This is just what the doctor ordered for an old guy (83+) that loves to tinker with stuff. I’ve copied and pasted a few addressable LED strip routines and enjoyed sharing the blinking lights, but this gives me an idea about what can be done to explore it more fully.
I’ll be checking out more of your videos.
Thanks for the excellent work!
I'm loving this. I bought a set for my dad to tinker, and recommended it to a few friends. I love how you explain the led logic, the code organization, and failures.
Thanks for doing this. The multiple views is great for following along at home
You do an amazing job with the presentations - content and delivery. For a guy just getting back to my youth coding roots after decades of management paper pushing - your vid’s are GREAT! Hope after all these years you’re still enjoying it!
Just started a project that use these and there haven't been many good in depth videos about them until I found yours. The demonstration of the led functions are really appreciated as I did find some videos showing the code but not what it would make the LEDs do. Just my luck your videos were released recently just before I get stuck into my project more, thanks.
iDirection tip is exactly why i love this series, been programming for years and would not of thought of that. I don't know when I will ever use that but its great to have another tool in the kit.
This is the best Arduino related programming video I've seen. Thank you.
Wow, thanks!
This is fun. I removed the pass count, doubled the number of "colors" adding 50% black now it randomly changes the color of random leds including black turning some off. Very cool!
Great job... Your logic on how you programmed it was spot on...
You've catched me with that Knight Rider theme - the good old days...
Excellent video Dave! I love the way you present the material. It's easy to follow along and beneficial to see you build the code one line at a time while explaining the thought process. Showing how header files are made, used, and included is helpful. Keep up the great work!
Thanks! Hope it proves useful to folks!
Awesome!! Thanks to your video I just saved $50 by watching this, I was planning to buy custom programmed arduino led strips but now hehehe thanks again!!!
That great, glad you were able to get it working and not have to buy one!
You are so amazing! I can't wait for my hardware to arrive on Monday and give this a shot!
@@anonanon3066 Personally, I am doing it with great success so far. Though I am not a fan of blinky lights, I am finding it quite educational.
Thnaks!
nerd ngl@@TheRealFrankWizza
@@scoopiezz Big facts
!o! did not expect a response lol. i was kidding I got bored lol. did u try the comet effect? @@TheRealFrankWizza
Awesome, Dave. Thank you. 👍 I am glad to see this one so quick after the Marquee, but I am still debugging a small issue with my typing the code for Marquee. With my schedule, I can work on your tutorials every once and a while, but hoping to debug Marquee tomorrow, then work on the Comet effect also. Learning a lot watching your series and loving the content you provide. Keep it up.
If you get stuck, you can post it here if brief enough or check out reddit's r/FastLED group for help!
@@DavesGarage Thanks Dave. I did have some time today to look at it and found the problem. I initially thought all was looking great - the black spots were doing what they needed to do and I wouldn't have even known it was a problem, but remembered you saying that the rainbow and black spots would "walk" in opposite directions. However, the rainbow was stationary. Anyways, the difference came down to "j += 4" in the drawMarquee function. I initially had it as a "=+". Damn syntax errors. 🤣 Didn't get to "Twinkle/Comet" yet, but looking forward to it. Thanks again for the great videos. 👍
rip he didnt care 💀💀@@NeoMudd69
Dave... awesome series!!! Very fun to follow along - and while my typing skills aren’t freaky fast like yours (and thus the pause button gets hit often...) the concept behind what you are doing is appreciated! Thank you!
Love this video Dave! Will be trying this when my strip lights come in tomorrow (or at least a variation of it).
Hello Dave,
I see you are a man of your word! Thanks so much for your video.
Wow your are a former Microsoft developer, I would kill to have such knowledge 🙄.
Once again thx, really helps to understand FastLed. Now looking up on github and elsewhere to find complete data with library function list. Great job! 😃
I’m actually aiming for the Knight Rider effect in my project so this helps greatly. Thank you very much!
Great job with this series, for days I have been looking for a good tutorial on FastLED and this is the one that finally made sense to me. Thank you very much! I'm looking forward to more videos
I'm here to see the Legend Task manager creator 😍👍😎 Love From Sri Lanka
Excellent. I'm learning
Loving this series 🚥🚥🚥🚥🚥
Thank you so much for this.
I'm in desperate need of FastLED examples, hense i'm not a strong enough coder.
So whatever inspiration i can get, is welcome :-)
You're welcome! It's on to Bouncing Balls and then Fire in time for Halloween, I hope!
@@DavesGarage looking forward to it 😉👍
Thank you very much Dave! Extremely useful for me.
Glad it helped!
Thanks, Dave! I have an Arduino set up in my living room just to mess with LEDs and my roommates and I love your videos! Can't wait for the next one!
Hey Dave another great video! I'd suggest doing the effects without delays too, like you displayed the oled display. And although I prefer to do it your way, you could show off the EVERY_N_MILLIS macro available in FastLED. And don't forget the beatsin, and triwave functions (also very useful for moving back and forth dots).
Thanks, I do plan to introduce those macros all at once!
Maybe could one use a library something like easytime or ezTime in conjunction with FastLed? Sorry if it's a silly question, learning 😅
@@JamesGB81 Guess that depends on what you want. If you want real time involved for whatever reason (i.e. activate an effect at a specific time) than you might, if not, I'd stick to already available methods. (I've never used these libraries).
@@joryp1158 thanks, well the idea would be to avoid using a delay(), and sure millis() can be used, the thing is I think time libraries exist, just to make things less painful, I haven't worked my millis() using enough to time events perfectly performed 😀
@@JamesGB81 Just editing the newest episode now where I explain EVERY_N_MILLISECONDS and the beat timers and Delay! Coming soon!
Hey Dave, I’ve recently discovered your channel and have enjoyed the videos. It’s so satisfying watching a real pro code in C. Rather than a lot of these young guys on TH-cam that present tutorials on this or that new web technology that they just barely learned themselves.
Really enjoying your videos Dave. Installing PlatformIO in VS Code now so I can try moving my LED projects from the Arduino UI :)
Going through all the videos has certainly been an educational experience for someone who knows pretty much zero C++. In this episode, all was going well until I inserted the " const double cometSpeed = 0.5 " line.. What happens is when saving and compiling, the next line "static byte hue = HUE_RED;" errors out with "hue not defined".. I chased around both Main.cpp and comet.cpp until I just removed that "const double..." code, where it all worked again. I am quite pleased with the affect, but lost several hours, filled with confusion, trying to figure out what I did wrong. Any Ideas??
Thanks for doing this!! I installed four strips of LEDs in my Kitchen in a 4 row, 200 column array (back top cabinet, front top cabinet, under top cabinet, and under bottom cabinet) and I used an Ardiuno Duo with FASTLED. I was surprised that I ran out of memory when I created/use all four strips. What advise can you provide on a new controller with more memory?
Also I had hopes of programing the following patterns but they may provide a challenge for you: Matrix rain with puddle ripples, Ocean swell and break, fireworks, Pacman being chased by ghosts,
Another challenge I have is to make very slow and smooth animations. How would you make your comet 60 times slower but still be interesting? Maybe add random reverse fadeToBlack, or a shimmer effect?
Thanks again
The ESP32 has tons of memory, that's one of the great things about it!
Do you have a video for when the LED lights up slowly and stays on???
Excellent, and Thank you for sharing! Much appreciated!
Ahh, finally I saw the extern statement for the LED array...
That was a fun implementation, I been working on my own led strip effects lately, I like how you call the one time through a frame, this seems to make sense to update frames, my own effects just use tons of nested loops but I got some interesting effects nonetheless. one step at a time. I also like to fade certain colors more or less than others in different effects, My last attempt was trying to make the fireworks style, with my own childhood impacted by knight rider but in my own way Im also making a connection machine style led display behind the grill of my 65 impala wagon.
Thanks for your videos. I’m wanting to do two output pins running two comets/strips. They’ll be starting at the same spot on an object and go around opposite sides of a perimeter of the object to meet at a set point on the other side. Then they return back to meet where they originally started. The issue I’m having is the distance they each travel is different, so one needs to go faster than other to meet together, and that strip also has more leds than the shorter one. I’ve tried different ways, and cannot seem to get the two segments to work simultaneously and independently. I essentially need two comet codes working at the same time, but with different speeds and number of leds. Modifying the speeds is easy enough to have them meet at the same time, but having the two comets going at the same time is tripping me up. Any advice?
Thank you so much for this series -- exactly what I've been looking for!! Quick note: Could you pause the video for a moment or two after you finish typing out code before you cut away . . . since I am trying to enter the code you are typing into my computer along with the video, I need to pause the video to make sure I have the code written correctly, but sometimes you cut away so quickly I can't pause the screen with the complete code visible. Apart from that one issue, I love the series . . . cheers!
DUDE! Thank you!!!!! You did it!!!
You can get more sparkles on the end if you increase the random number to like 5 (less likely to be picked to fade), and then increase the fade amount to like 100 (less likely to be picked to fade a larger amount).
Great tutorial, I'm learning a lot. Thanks for sharing!
I have a quick question regarding fadeToBlackBy.
Fading a color, lets say an Orange, CRGB(255, 128, 0); will change it's hue while fading down. The green channel will have faded to black before the red channel, therefore leaving the pixel a dim red before turning off. For my project the change in hue is distracting.
Is there a fadeToBlackBy for HSV colors that just fades down the value part and therefore doesn't change the Hue?
Is there another way of doing this with out using the fadeToBlackBy command?
Thanks for any insight, much appreciated.
I got an esp 32 and the fourth time plugging it in I had the little plug I made plugged in backwards. I heard the fan kick on in my power supply and knew right away... Oddly it still plays what is flashed on it but no OLED or onborad leds and it won't flash. though it does connect to COM port. Good thing they are only $15. I'm so used to using the barrel connector on the Arduinos
I am new to arduino. I just bought a arduino mega 2560 R3. In your description you have a link to the Heltec ESP32 module. Will the code work with the arduino mega 2560 R3. If so what pins should I use. Thanks for any help.
i like you channel, greetings from argentina!
Hi Dave, great series!
I'm curious why you draw the comet first, and then fade the entire strip? Doesn't this fade the comet as well (even if it's just one iteration)? Is it to add some randomness to the comet?
Uninteresting fact: A comet's tail does not (necessarily) move in the opposite direction of the comet's movement. It moves with solar wind. The only time the tail moves in the opposite direction is when the comet is moving toward the sun.
Hi Dave i love your tutorials, i want to know do you offer one on one training?
Super good
👍👍👍🇳🇱 great from Holland
Hey there, could you try to recreate the northern lights/aurora borrealis effect with such strips? I found a paper but couldn’t think of a good logic to fade between the purple green moving shades.
This tutorial does just that, blueish green and reddish purple, by blending between two palettes and adding some noise. Code link in the description.
I'd like to see inclusion of potentiometers to set the variables for speed and fade for the comet so you could tweak it while it's running.
"Making blinking lights is always satisfying where JavaScript is not." I can not agree with you more. 🤣🤣🤣
not to sound too stupid but can this be made as a sketch to run on arduino ? And if so, are there changes?I am totally new to the arduino stuff.
Great stuff! Can't wait for fireworks or Halloween animations. Any suggestions for materials or methods, led strips, leds/meter, connectors, power, cables, etc. for installing long runs outside like your pool house? Why is an old Microsoft guy using a Mac??
I love this and added this to my Garage PIR light, at night it animates to full white (with candy cane effect if month = 12) and in the day (using NTP and sunrise algorithms) it does a similar comet effect. My question is that I created similar effect files but I have an effect.h and effect.cpp file. In the effect.h I have a prototype for the effect.cpp function. Whereas here we implement in the .h file. For some things where its very basic that is also what I do.
Did I miss a step where thats explained and what are the rules? I find it a pain to refactor and add a .h and .c file every time and I always prefer he absolute simplest approach I can get away with - but obviously if I share my code it has to be organised such that others can read it. So what normally happens is I have an idea which I want to try with the least possible changes to the code, so I end up with a function in the main.cpp but then when I realise that its got enough to be split into a better structure I then gather up anything that should be together and peel off into its own file and if that gets chunky enough a library. I realise this may be backwards but thats the way around I usually do it if its a continually creative project rather than a fully defined one. Am I weird?
I'm kinda confused... why you put implementation in the .h file?
'Nother good one! Thanks
I love these; been following along and learning a lot. Do you take requests? I’d be really interested to learn how to use either the Serial port on the ESP32 or WiFi and a web server on the chip to have a PC give the strip a signal to change the effects.
I've built in a webserver for that, but never tried it over serial, that's an interesting idea!
@@DavesGarage Yeah, much better approach; didn't realize that there were webserver libraries already. I got that built and it's wonderful!
@@jeffsteinbok Dave i think in your first Tiki umbrella you mentioned wifi, bluetooth and web server, are these still on your plans to do videos on those, It would be very much appreciated by us followers. I plan to intergrate my controller with my smart home via DMX (almost sorted) but other options will be great especially when my friends start wanting me to do some lights for them
Good job!
Great video! Thanks for your time and effort :)
Do u have a finish code for some Xmas and new year effects, ready to put on a Arduino :)
Amazing!!... One question, To have different effects you need to code all of them and upload to arduino. How can I select the effect separately without going through all of them ? Many thanks.
You could do it on a timer, perhaps? Make up your set of 6 effects, let's say, and then use the EVERY_N_MILLISECONDS macro to change which one is active?
Hey Dave, thanks for the channel, I've enjoyed watching this series on led pixels. Question for you, or anyone willing to help. On my standard Arduino Uno and the comet code on 100 leds, everything works pretty good, but when I scale it to cover 500 leds it becomes very slow. Is there anything you can think of that can speed that up? My 500 leds are fixed to my house and it takes a little over a minute for a comet to make a round trip. I know there is a lot of pixel rendering going on, but man, this would look great if it zipped across quickly.
I found that if I bump the comet speed up to 4.0 I get a pretty descent effect, although it's not quite as pretty as the higher frame/sec version.
For a split second when my results came up, I thought Bobby Singer was teaching neopixel lighting fx.
curious how you'd write a for loop so that instead of bouncing the comet loops. ie I have a circle LED strip and would like it to continue in a ring.
Should be pretty straight forward if you think of it as an array. A[N] if i= N-1 then i=0 and thats it!
you are very great sir.
Hey Dave, where did you learn to code! I feel i need to get a better understanding of it all but not entirely sure where to start. Great video my man!
I started on a TRS-80 Model 1 in Radio Shack, then a C64!
I never even saw the leds. Why not show them to us while you do it. I do appreciate all the stuff you put out though.Could it because I am watching on a phone.ok I see if I hold the phone vertically I see it but if I hold it wide screen it doesnt show bad youtube.
Hi Dave, great work for sharing this info. Would you have an easier way to produce the comet effect through arduino without using visual code?
*this info
What’s the app you are using to write up your code in?
Visual Studio Code, usually!
Kinght Rider!
Hey man! Any chance you would help me with a small project doing something like this? I'm a super newb
I really like your videos. While you sometimes feel you microsoft history, I have a similar desease with my embeded software history. If you write huge code for little embeded chips, you think twice before declaring a static variable and any kind of delay is a NoGo :o)
I really need to get rid of such habits, if I write little code on 'huge' chips like esp8266.
Does it work with esp8266??
Today can we ask feet upload these programs you're doing so we can make our andno do the things you're doing
Awesome
Cool
hey guys i have a question, i am not a programmer... so, with a LED strip i wanna create a pulsing effect that fade in out in different time exposure, but in a totally random timing... i don't know really how to explain that :) in my mind looks like it's alive... anyone that has an idea how can i make it happen? Thanks a lot! ;)
Imagine typing that fast non-stop when programming
I wish I even knew where to start. Zero coding experience. It's fine to cut/paste someone else's code into ide, but knowing how/what to type is better.
finally
Sir code send Android version plis
Hey Dave
ステキー!
doing this on a pi is an absolute nightmare
Circuit
18:09 you not need money. you was MS programmer
Why don't you show us what all these changes do ? I appreciate your instruction, but it is extremely hard to understand what your doing by just seeing the code and not the real effects.
Эффект снизу
hard learned lesson. =+ doesn't do the same as +=
sir your video is great but... for new bees like me... its like humans trying to train ape... 🙈🙈🙈🙈
Don't have any code. 😡
Fek me, can u type any faster
removed him again, he never replys
I followed everything he taught. and the result is just a farce. His code is different from the whole image. I spent a month watching a clown
Hey Dave