Updating Arduino Broke my Code FAIL12:44

  • 7,107 views

This goes back to my WS2812 code from this video:
https://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:
http://kevindarrah.com/download/arduino_code/WS1812_V4_FOR_VIDEO_FIXED.ino

Check out my Tindie store (trigBoard is available) https://www.tindie.com/stores/kdcircuits/

Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
https://www.patreon.com/kdarrah

Twitter: https://twitter.com/KDcircuits

For inquiries or design services:
https://www.kdcircuits.com

Bookmark and Share
    1. Azy
    2. David Courtney
    3. Sean O'Neill
    4. Kenny MacDermid
    5. bonzai HB
    6. Carlton Dodd
    7. zapro_dk
    8. UFOhunter
    9. Josh C
    10. Robert Tausworthe
    11. Cory Marshall
    12. Vinicius
    13. Michael Hawthorne
    14. Tobi N.
    15. Bob Stout
    16. gerardopenya
    17. multiplexed

Enjoyed this video?
"No Thanks. Please Close This Box!"