Odd inability to light at max brightness occurrence
has there been occurrences where the max brightness set by code is definitly not the visible max brightness. To explain
I have HSV (hue, sat, val) set at 255, 255, 255 which should be bright red.
In one part of my code it works totally fine, but in another, the max brightness is at about half of the total.
I used Serial to check the value are readin as 255 and they are, so it has me thinking that maybe there is something in the code, or somethign i am totally missing that is at hand.
please note, I have quadrouple checked that the value is 255 for the HSV, so that doesnt seem to be the problem. In addition, it doesnt seem to be a hardware issue as elsewhere in the program it lights up to max brightness. Just stumped if there is something that is going on?
The final thing worth mentioning is that when I press the upload button on the IDE, and if the running code is at the part which is not showing s max brightness it temporarily becomes a visible full brightness.
Hard to say - without being able to see the code that you have setup (please post it to http://gist.github.com - not in a comment) it’s difficult to comment on what you’re doing. Also, how’re you powering your setup? I wonder if you’re running into a power problem (the USB ports on some computers will supply a higher current, but then after a period of time (or if the draw attempt gets too high) they will cut the current back down).
@Daniel_Garcia
Is it possible to show the code only to you? Just in this case I’m reluctant
Regarding power up, very simple. Meanwell lrs350-5 for lighting 70lights(2+abut metres of APA102, 30LED/m). I knows it’s overkill but that isn’t a problem is it?
The USB thing had me thinking, so I isolated he strip to be supplied by the power supply only and it made no difference.
I’m going to leave it for the night and see if hat somehow sorts it, but if it persists tomorrow I will says so. Hoping it’s just one of those weird things that happen
@Daniel_Garcia@marmil
i have made some change and it is a little better
at the moment, the motion activate bit works 100%, the non motion activated bit does not, probably around 80% brightness
thats what confuses me. I think it is is probably better to share here, so i can at least understand what may be happening, and then make some better stuff in the future
please note that there is a lot of bluetooth info coming in, so it may be a bit confusing at first. I have tried to clean it up and make it as readable as possible