Update README.md

This commit is contained in:
mrfaptastic 2020-08-14 10:08:48 +01:00 committed by GitHub
parent 5b9022d74c
commit 291835f04c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,8 +111,9 @@ If you experience ghosting, you will need to reduce the brightness level, not al
``` ```
void setup() { void setup() {
Serial.begin(115200); Serial.begin(115200);
matrix.setPanelBrightness(16); // SETS THE BRIGHTNESS HERE. 60 OR LOWER IDEAL.
matrix.begin(R1_PIN, G1_PIN, B1_PIN, R2_PIN, G2_PIN, B2_PIN, A_PIN, B_PIN, C_PIN, D_PIN, E_PIN, LAT_PIN, OE_PIN, CLK_PIN ); // setup the LED matrix matrix.begin(R1_PIN, G1_PIN, B1_PIN, R2_PIN, G2_PIN, B2_PIN, A_PIN, B_PIN, C_PIN, D_PIN, E_PIN, LAT_PIN, OE_PIN, CLK_PIN ); // setup the LED matrix
matrix.setPanelBrightness(16); // SETS THE BRIGHTNESS HERE. 60 OR LOWER IDEAL.
matrix.clearScreen(); // You must clear the screen for the new brightness level to take effect.
} }