diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-02-10 23:28:40 +0000 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-02-10 23:28:40 +0000 |
| commit | 42f4ce959d9a9c167d148b09eb3aa63c034df936 (patch) | |
| tree | a295f84542697ee6136183de54f6296d21ac8b8b | |
| parent | 0cf0ac963167f31c7febb4798b7aab2bdb837fc3 (diff) | |
Fix backward compatability
oops.
| -rw-r--r-- | ESP32-HUB75-MatrixPanel-I2S-DMA.cpp | 9 | ||||
| -rw-r--r-- | library.json | 2 | ||||
| -rw-r--r-- | library.properties | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp index ac51192..8fd1409 100644 --- a/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp +++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp @@ -802,8 +802,15 @@ void MatrixPanel_I2S_DMA::brtCtrlOE(int brt, const bool _buff_id){ */ bool MatrixPanel_I2S_DMA::begin(int r1, int g1, int b1, int r2, int g2, int b2, int a, int b, int c, int d, int e, int lat, int oe, int clk){ + // RGB m_cfg.gpio.r1 = r1; m_cfg.gpio.g1 = g1; m_cfg.gpio.b1 = b1; - m_cfg.gpio.r2 = r2; m_cfg.gpio.g2 = g2; m_cfg.gpio.b1 = b2; + m_cfg.gpio.r2 = r2; m_cfg.gpio.g2 = g2; m_cfg.gpio.b2 = b2; + + // Line Select + m_cfg.gpio.a = a; m_cfg.gpio.b = b; m_cfg.gpio.c = c; + m_cfg.gpio.d = d; m_cfg.gpio.e = e; + + // Clock & Control m_cfg.gpio.lat = lat; m_cfg.gpio.oe = oe; m_cfg.gpio.clk = clk; return begin(); diff --git a/library.json b/library.json index 5b7fd92..8b4c1fa 100644 --- a/library.json +++ b/library.json @@ -10,7 +10,7 @@ "name": "Faptastic", "url": "https://github.com/mrfaptastic/" }, - "version": "2.0.0", + "version": "2.0.1", "frameworks": "arduino", "platforms": "esp32", "examples": [ diff --git a/library.properties b/library.properties index 0803f90..2a96bfa 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESP32 HUB75 LED MATRIX PANEL DMA Display -version=2.0.0 +version=2.0.1 author=Faptastic maintainer=Faptastic sentence=Experimental DMA based LED Matrix HUB75 Library |
