I am working on a light show with and arduino uno and a ws2812b led strip. Everything was going great until all of a sudden the arduino wouldn't run the full code. It would run the first few lines that were all written in the loop. But when it got to the function section, it would just stop right away and the leds would turn off and not come back on. I re-uploaded the code multiple times and it still would not continue to run the code. In addition I added a test light the would go on for a few seconds at the beginning of the loop. The led would continue to turn on, while the strip just remained blank. I also ran an example code and it worked just fine. I am unsure of what to do at this point and cannot find much online. It is also worth mentioning that I switched the led strip out for a matrix(both WS2812B) and it still would not work. After some time I just gave up and started writing a new code. Until troubles appeared there. It was just a simple program with some for loops and at one point after making an adjustment, I uploaded the code again. Well I tried too, an error message showed up saying the device did not recognize the program/code. After trying a few more times the code uploaded. The code was working for a couple rounds, then the leds just froze on one of the colors. I happened to touch the connector and all of sudden they started working again. sort of. The second for for loop stopped at led #50 or so. I thought it might just be a color un-distinct color difference. So I changed the code and re-uploaded, only to have an error message saying "the selected serial port does not exist or your board is not connected. I double checked the everything and the board was plugged in and it had power, but the computer didn't recognize it. So, I unplugged the board from the computer and plugged it in again and uploaded the code. The code immediately worked, but like before, not for long. I have looked online and have not found anything quite like this so I am trying here. I am fairly new with this and help would be greatly appreciated.
Also, I am using the FastLED library and get this message whenever I upload
In file included from C:\Users\xxxxxxx\Documents\Arduino\sketch.ino:1:0:
C:\Users\xxxxxxx\Documents\Arduino\libraries\FastLED.h:14:21: note #pragma message: FastLED version 3.003.001
Just thought I would add that,