Update README.md

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

View file

@ -112,8 +112,8 @@ 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.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.setPanelBrightness(16); // Set the brightness. 32 or lower ideal.
matrix.clearScreen(); // You must clear the screen for the new brightness level to take effect. matrix.clearScreen(); // You must clear the screen after changing brightness level for it to take effect.
} }