Commit graph

32 commits

Author SHA1 Message Date
mrfaptastic
e8f1c94ac6 Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2021-06-24 20:05:34 +01:00
mrfaptastic
8d8b1fb215 Various fixes
* Default to inverted clock phase because it's the second time this has happened, and it doesn't impact older panels.

* Fix an issue with the Virtual Display Class
2021-06-10 20:49:28 +01:00
mrfaptastic
8b36964e68 Define mask offset at c++ compile time 2021-06-10 18:41:02 +01:00
Emil Muratov
8ebc5e933a clearScreen() now wipes only color data for current buffer
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-05-22 01:57:54 +03:00
mrfaptastic
4af72ab98d Update VirtualMatrixPanel class 2021-03-31 18:29:03 +01:00
mrfaptastic
5062df590e Enabled FastLED CRGB Support 2021-03-28 17:34:20 +01:00
mrfaptastic
51345ec0ac Implement FastLED CRGB support
Remove legacy RGB24 struct, and overide drawPixel to support CRGB 24bit struct value passed as a colour. FastLED library required to be installed when FASTLED_CRGB_SUPPORT enabled.
2021-03-28 15:35:11 +01:00
Emil Muratov
3c8443eeb8 Fix compiler yells about reordering
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-02-28 22:11:27 +03:00
mrfaptastic
f279d49103 move min_refresh_rate to core config
Can only be setup on initisation of the library. Moving to a start-up configuration variable like the others.
2021-02-22 12:13:31 +00:00
mrfaptastic
a3068c8934
Merge pull request #88 from mrfaptastic/clkphase
Clock phase toggling option + DMA stop function
2021-02-22 09:23:56 +00:00
mrfaptastic
f7aaad842b Add stopDMAtransfer function 2021-02-20 22:29:22 +00:00
Emil Muratov
e04c30c8ae Build-time flag to disable CIE1931 color correction
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-02-20 18:26:20 +03:00
Emil Muratov
6cab840dfc Moved driver-specific code to a separate file
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-02-19 17:30:09 +03:00
Emil Muratov
15eaa3e9d3 Clock phase toggling option, required to support MBI5124 chips
Closes #75

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-02-19 17:29:41 +03:00
mrfaptastic
895bb80b43 Rewrite DMA driver setup code.
Evolutionary, not revolutionary. Vast improvement in double buffer swap speeds.
2021-02-17 01:00:59 +00:00
mrfaptastic
cf8cb970e9 Minor changes 2021-02-16 20:20:09 +00:00
mrfaptastic
9dc00e35f1 Revert "Minor changes"
This reverts commit 3214cd643d.
2021-02-16 20:15:29 +00:00
mrfaptastic
3214cd643d Minor changes
* Fix double buffer example
* Remove the I2S user clock config for simplicity - ESP32 turns out to be massively limited anyway to 20Mhz...
2021-02-15 15:36:20 +00:00
mrfaptastic
58abc5f2fb Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
Crash fix. Shouldn't actually be less than two.
2021-02-14 16:35:22 +00:00
mrfaptastic
889ed51fe1 Improve colour performance if compile-time PIXEL_COLOR_DEPTH_BITS is less than 8
Refer to the code.
2021-02-14 14:12:45 +00:00
mrfaptastic
77e0abff90 Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2021-02-13 07:27:16 +00:00
mrfaptastic
0749fa4193 Update to 2.0.0
Also known as the @vortigont release! Hooray!
2021-02-10 15:49:19 +00:00
Emil Muratov
521e5b0a57 Merge branch 'master' into trials 2020-12-22 15:13:13 +03:00
Emil Muratov
05d196d188 minor fixes and comments
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2020-12-21 02:42:55 +03:00
mrfaptastic
f32c46e746
Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2020-12-16 17:52:11 +00:00
mrfaptastic
496f042cdb Adding ICN2038S as apparently it's a clone of FM6126A as well. 2020-12-12 12:30:06 +00:00
mrfaptastic
c425b9caa7 Minor cleanup
Minor cleanup to the contribution made by @vortigont . Move some of the special constants into specific #defined constants.
2020-12-08 08:10:35 +00:00
mrfaptastic
5108c945cd Backwards compatability cleanup 2020-12-07 18:39:39 +00:00
mrfaptastic
fd46940464 Mintor change to remove reference.
Caused compile issues with PatternPlasma on Arduino compiler.
2020-12-07 18:15:38 +00:00
Emil Muratov
0d8fe4aeff GO_FORPEED now 'FAST-mode'
- ability to change between fast/full refresh modes in runtime
 - optimized bitlogic/loops
 - brigtness control via uint8_t adjusted to matrix width
 - brightnes-control considers fastmode
 - clearScreen() always does full buffer refrash

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2020-12-07 12:25:29 +03:00
mrfaptastic
460b823200 Update library class and name 2020-11-28 09:45:30 +00:00
mrfaptastic
b6da8ea09a Change library name 2020-11-28 08:39:35 +00:00
Renamed from ESP32-RGB64x32MatrixPanel-I2S-DMA.h (Browse further)