aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-06-22 22:40:33 +0100
committerGitHub <noreply@github.com>2021-06-22 22:40:33 +0100
commitc049fc8b7e4c377022ae94e1778cc21337366ebf (patch)
tree58aa886ec2de63cdd1372f2b9440fe83501614c0
parent1b12bfe831b7cd22d81e7da1fe7aca0897f81c90 (diff)
parent584b24f722bc130e79779e3cddf6b10834bd0633 (diff)
Merge pull request #138 from witnessmenow/patch-1
Fixing typos in the "Panel Brightness" section
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 953ec2e..7afa42f 100644
--- a/README.md
+++ b/README.md
@@ -169,7 +169,7 @@ By default you should not need to change / set the brightness setting as the def
The value to pass `setPanelBrightness()` must be less than MATRIX_CHAIN_WIDTH in pixels. For example for a single 64x32 LED Matrix Module, a value must be less than 64. For 3 modules 64x32 it must be less than 192. However, if you set the brightness too high, you may experience ghosting.
-Also you may use method `setPanelBrightness8(x)`, where x is a uint8_t value between 0-255. Library will recalculate required brightness level depending on matrix width (mostly useful with FastLED-based sketches).
+Also you may use method `setBrightness8(x)`, where x is a uint8_t value between 0-255. Library will recalculate required brightness level depending on matrix width (mostly useful with FastLED-based sketches).
Example:
```
@@ -179,7 +179,7 @@ Serial.begin(115200);
matrix.setPanelBrightness(16); // Set the brightness. 32 or lower ideal for a single 64x32 LED Matrix Panel.
// or another way
- matrix.setPanelBrightness8(192); // Set the brightness to about 3/4 or 75% (192/256) of maximum.
+ matrix.setBrightness8(192); // Set the brightness to about 3/4 or 75% (192/256) of maximum.
}
```