@pedroscreamerovsky wrote:
Hi All,
i’m new to the forum, i hope someone can help me with this.
I bought a unicorn phat and i’ve installed all the necessary libraries for python.
When i run thru the examlpes everything seems to work fine, but when i’ve actually started coding my own thing, i’ve noticed that the phat dosent light up if the value of the color i’m passing is smaller than 50 (with set_color or set_all functions).
What i mean is that i set some code like this:
unicornphat.set_all(40,40,40)
unicornphat.show()all the pixels stays black. As soon as i put 50 or more i’m starting to see the pixel lighting up and with a correct luminance, it seems. I mean, they are starting to behave normally from 50 to 255 value, on any channel (rgb).
I thought it could be a power supply problem, so i’ve tried not only connected via usb to my computer but also with the official raspberry power supply 2.5A.thanks for any help
[edit]
Doing some more experiments i can see that this threshold is changing if i change the brightness (with the berightness() function)
the lower limit of 50 is for maximum brightness (1). Going down with the brightness make the situation worse, and for example with 0,4 of brightness, the phat dosen’t light up until more than 100 of 255
Posts: 2
Participants: 1