Is there an issue with a corrupt FastLED github file yesterday and today?
Hi, all,
Last night I tried for several hours to get the fastled library to work, and got varoius erors.
I am running an HP Elitebook 8540W laptop with windows 10 and Arduino 1.6.5 software. I have been using the “Other” library for a few years, and wanted to advance to the fastled environment, as I had heard that’s what the pros use.
I downloaded the library from the github page pointed to by the fastled web page, and placed it in my arduino libraries directory, along with the other libraries that work. Each example sketch from the fastled library I tried to compile gave me error messages having to do with an undeclared “yield” variable.
I then read the Readme file in the library where it talks about renaming the directory from FastLED-x.x.x to FastLED. After restarting (PC), it had no effect.
I then deleted the FastLED directoryand restarted the PC. I then tried to add the Fastled library from the Arduino 1.6.5 library manager(Sketch, Include Library, Manage Libraries), typing in FastLED in the search box. The FastLED library came up, and when I tried to click on the “Install” button, I got a “CRC doesn’t match, file is corrupted” message.
I am out of options… Any suggestions?
Thanks.
(been using neopixel library a couple of years, wanted to try something better).
What hardware are you building for? Also - try a more recent version of arduino - I think yield was added more recently.
Hi, and thanks for the response. I tried another computer (Asus tablet, windows 10), installed arduino v1.6.12, then went to the library manager and installed fastled from the search box. This time it installed, but I was back to square 1 with the “yield” message after trying to compile the “blink” sketch, similar to the first issue.
Again - what hardware are you building for? I wonder if there’s a platform that isn’t defining yield like it should.
Sorry, misunderstood the question. I am trying to download to a digispark attiny85 board.
Ah - ok – those folks have a pretty strange subset of what most of the other arduino platforms have.
Pull the latest out of github - i’ve fixed it for the digispark.
Thanks for getting back to me on this. Is there a later version number on github? I tried redownloading ver. 3.1.3 again, but it seems to be the same, last ammended like 10 days ago.
No surprise, same issue. I did try to compile the same sketches using a different board type (platform- learning the jargon)and got them to work. I had not considered that before. I look forward to the digispark compatible fix.
I haven’t made a new release yet - you’ll have to grab master@HEAD
I see the 3 files that were changed in the github, but am a novice at such things. The fastled.cpp file had the change on line 132 or so, etc. I thank you for making the changes for digispark. Do I need to edit the 3 files in my arduino fastled library to read like those, or is there a way for me to download them and replace the files in my fastled library? Thank you again for your response and patience.
You can always use https://github.com/FastLED/FastLED/archive/master.zip to download the latest master tree
Thank you, Daniel, that worked. I have tested some of the example sketches, and some will work with the limitations of the attiny85 digispark. I will be using nanos and maybe some digispark pros for the more complex stuff. There is much to learn with the library, and I look forward to increasing my skills.