I dont really know what to do... I have no motivation for anything, I want to play a game, i want to work on the waltzer, or the led-a-sketch, and all my other projects, but i just have no motivation to actually DO it π
Like yesterday, i was working on the led-a-sketch, but the leds keep glitching out and i have no idea why, the 5v supply is solid (and not noisy), the data lines are short, ive tried 2 different micro controllers incase its a timing issue, but it still just starts glitching out.
I know there is a limit to the number of leds you can actually address, but according to evidence ive found online and in the datasheet, the limit is usually beyond 1000+, im using 875, and i get the glitching after the first 140ish leds. I dont know why, the standalone controller that came with some led strips i have worked without issue, so im 99% sure its not the soldering / pcb, If it was, the standalone controller would have shown issues too.
The other thing that makes me think its a timing issue is that if i run the leds and force 400Khz speed using fastled, they kinda work...
One of the tests i was running in my code was just showing a single row, in red, and looping through each row. The way i could see if there was any issues and have a good idea of where the issue starts.
What was happening with that test when using 800Khz, the first 140 leds would work fine and slowly start to get worse after that. But when running at 400Khz, it would show the first row, then turn all leds on to orange, then show the second row, then turn all the leds orange, rinse and repeat. That wasn't what should have happened, it should have just showed each row sequentially, i dont know why it was showing all leds orange between each row, but each row worked as i expected (except the orange obviously), which kinda tells me its a timing issue, but the ws2812 leds dont support running at 400Khz, only 800+.
It could be that, despite what the datasheet says, the ws2812c leds arnt timing compatible with the ws2812/b leds. But im sure i would have seen something about that somewhere. When searching for anything relating to ws2812c, my own fucking website (not this one) shows up on the first page of google results, so there must really be nothing out there about the C variants of the LEDS.