aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-01-21 18:19:43 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-01-21 18:19:43 +0000
commit9c5737ddf1af45bff809fb3c0beff1c42b317f30 (patch)
tree2717090ce2385f3dcecd2b2d64fd884e9d49922f /src
parent76a69e9f84d7fafd13784838c96e2e3110760bb2 (diff)
Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
Diffstat (limited to 'src')
-rw-r--r--src/ESP32-HUB75-MatrixPanel-I2S-DMA.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index 16f499c..754f563 100644
--- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -202,7 +202,7 @@ struct HUB75_I2S_CFG {
/**
* I2S clock speed selector
*/
- enum clk_speed {HZ_8M=8000000, HZ_10M=10000000, HZ_20M=20000000};
+ enum clk_speed {HZ_8M=8000000, HZ_10M=10000000, HZ_16M=16000000, HZ_20M=20000000};
// Structure Variables
@@ -259,7 +259,7 @@ struct HUB75_I2S_CFG {
LAT_PIN_DEFAULT, OE_PIN_DEFAULT, CLK_PIN_DEFAULT },
shift_driver _drv = SHIFTREG,
bool _dbuff = false,
- clk_speed _i2sspeed = HZ_20M,
+ clk_speed _i2sspeed = HZ_16M,
uint8_t _latblk = DEFAULT_LAT_BLANKING, // Anything > 1 seems to cause artefacts on ICS panels
bool _clockphase = true,
uint8_t _min_refresh_rate = 85