Matrix Portal M4 - panel brightness control?

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
sermann
 
Posts: 18
Joined: Wed Jul 08, 2020 5:24 am

Matrix Portal M4 - panel brightness control?

Post by sermann »

I am trying to adjust the brightness of an 64x32 matrix display attached to a MatrixPortal M4 based on the room's brighness, thanks to an BH1750 light sensor.

Code: Select all

from adafruit_matrixportal.matrix import Matrix
matrix = Matrix()
matrix.display.brightness = 0.5
From what I can tell, 0.0 will turn off the display and anything else will set it to full brightness.

Is this how it is supposed to work, or should the panel brighness be adjustable?

Note: the connector between the display and the MatrixPortal M4 got damaged and possibly poorly repaired by me, so it could be a hardware isse.

Any thoughts and suggestions?

User avatar
dastels
 
Posts: 15817
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix Portal M4 - panel brightness control?

Post by dastels »

From some digging through the framebuffer and rgbmatrix implementations (in the CircuitPython source) it would appear that brightness control is not supported: it's either on or off.

Sorry.

Dave

User avatar
sermann
 
Posts: 18
Joined: Wed Jul 08, 2020 5:24 am

Re: Matrix Portal M4 - panel brightness control?

Post by sermann »

Thanks.

Will try playing palettes to simulate brightness control.

Cheers,

Stephen

User avatar
dastels
 
Posts: 15817
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix Portal M4 - panel brightness control?

Post by dastels »

Yes, that's generally what brightness controls do: scale the RGB values you set.

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”