Kevin Darrah | Updating Arduino Broke my Code!! FAIL @Kevindarrah | Uploaded May 2018 | Updated October 2024, 21 hours ago.
This goes back to my WS2812 code from this video:
youtu.be/VAa4duqMrgs
That was when v1.67 was out, but for some reason on 1.8.x, it no longer works. No worries though, just a simple fix to the for loop in there to speed things back up to how they were... strange though, huh? Maybe a computer science guy can tell me why this broke in the first place. I tried running a diff on some of the core files, but nothing stood out to me. Kind of cool that you can speed up for loops by counting down to zero, so at least I found that out through this troubleshooting effort.
Here's that updated code:
kevindarrah.com/download/arduino_code/WS1812_V4_FOR_VIDEO_FIXED.ino
Check out my Tindie store (trigBoard is available) tindie.com/stores/kdcircuits
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
patreon.com/kdarrah
Twitter: twitter.com/KDcircuits
For inquiries or design services:
kdcircuits.com
This goes back to my WS2812 code from this video:
youtu.be/VAa4duqMrgs
That was when v1.67 was out, but for some reason on 1.8.x, it no longer works. No worries though, just a simple fix to the for loop in there to speed things back up to how they were... strange though, huh? Maybe a computer science guy can tell me why this broke in the first place. I tried running a diff on some of the core files, but nothing stood out to me. Kind of cool that you can speed up for loops by counting down to zero, so at least I found that out through this troubleshooting effort.
Here's that updated code:
kevindarrah.com/download/arduino_code/WS1812_V4_FOR_VIDEO_FIXED.ino
Check out my Tindie store (trigBoard is available) tindie.com/stores/kdcircuits
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
patreon.com/kdarrah
Twitter: twitter.com/KDcircuits
For inquiries or design services:
kdcircuits.com