Emil Muratov
03d6594a1c
Double buff w/o delay
...
- removed delay() from buffer swap
- add new method to check if back buffer is safe to write to
- obsolete showDMABuffer()
2021-08-19 19:43:39 +03:00
mrfaptastic
e12eaf15b5
Revert "Attempted clearScreen() syncronisation fix"
...
This reverts commit f6584dd321
.
2021-08-18 16:33:59 +01:00
mrfaptastic
3b13645e7f
Revert attempt to remove legacy begin
2021-08-18 15:28:56 +01:00
mrfaptastic
54ca0c4b2b
Revert default latblank change
...
Causes noise on ICS panels if not '1'. Needs further investigation.
2021-08-18 15:20:43 +01:00
mrfaptastic
f6584dd321
Attempted clearScreen() syncronisation fix
...
No idea if this will work.
2021-08-18 14:32:51 +01:00
mrfaptastic
ab641b9642
Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
2021-08-18 14:19:08 +01:00
mrfaptastic
6975f5f8a2
Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
2021-08-18 13:01:05 +01:00
mrfaptastic
c050d541f3
Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
...
Reset initialized to false on delete.
2021-08-17 10:51:24 +01:00
mrfaptastic
00917150ff
Merge pull request #168 from mrfaptastic/SM5266P
...
Implement
Sm5266 panels
Increase default latch blanking
Get rid of the legacy begin() usage of the library.
Fix a minor bug with the DMA v and h line draw with out-of-bounds x/y/length params.
2021-08-17 10:45:20 +01:00
mrfaptastic
bbb23c789d
Default latch blanking to longer
2021-08-17 10:17:12 +01:00
Emil Muratov
32a02a5f0f
Add proper destructor to the class
...
Closes #165
2021-08-17 00:39:19 +03:00
mrfaptastic
1fa0b42480
Fix #163
...
Array out of bounds DMA change.
2021-08-16 14:18:36 +01:00
mrfaptastic
fd7629e52c
Update
2021-08-16 13:29:44 +01:00
mrfaptastic
1d32228a5b
Change DMA to I2S0
...
For ESP32-S2 compatability.
2021-08-16 12:18:14 +01:00
mrfaptastic
11eaf34d91
Update to include SM5266P
...
Attempt to resolve #164
2021-08-16 11:01:26 +01:00
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