Commit graph

139 commits

Author SHA1 Message Date
mrfaptastic
921392ce47 Update gdma_lcd_parallel16.cpp 2023-04-03 09:58:53 +01:00
mrfaptastic
7c2d527dd8 Cleanup 2023-04-02 13:12:53 +01:00
mrfaptastic
b101ae6997 Update ESP32-VirtualMatrixPanel-I2S-DMA.h 2023-04-01 19:31:24 +01:00
mrfaptastic
0a08debcab Close #432 #430
Implement VirtualDisplayClass rotation (and let AdaFruit_GFX) be aware of it as well for font printing.

Ability to 'scale' up (zoom) display as a quick and dirty magnification mode.
2023-04-01 19:04:47 +01:00
Dhruv Kumar
e668d59cc4 setRotate renamed to setRotation
Keeping it same as Adafruit_GFX
2023-03-22 12:09:33 +00:00
Dhruv Kumar
53ecf54c56 setRotate implementation changed
setRotate(bool) has been replaced by setRotate(int).
0, 1, 2, 3 int inputs are translated to 0, 90, 180 and 270 degrees rotation.
Documentation not updated.
2023-03-22 01:38:18 +00:00
mrfaptastic
bd7cc1e217 Fix S2 compiling 2023-03-21 23:50:05 +00:00
mrfaptastic
93b36adf72 Fix #426 2023-03-21 23:05:14 +00:00
mrfaptastic
1ac5a2209e rename size()
to getColorDepthSize()
2023-03-20 10:19:21 +00:00
mrfaptastic
9f2cb15b53 ROW_SCAN_SHUFFLE #338
New compile time option: ROW_SCAN_SHUFFLE

Don't update rows in sequential order.
2023-03-19 01:03:49 +00:00
mrfaptastic
30b74a246b ROW_SCAN_SHUFFLE 2023-03-19 01:02:47 +00:00
mrfaptastic
92bce305f6 Update esp32_i2s_parallel_dma.cpp 2023-03-19 00:46:38 +00:00
mrfaptastic
a54688df9d Rowcan shuffling #338 2023-03-19 00:42:22 +00:00
mrfaptastic
3333f0b11d #338
Randomise rows.
2023-03-18 20:50:36 +00:00
mrfaptastic
9d36abeeaf Reduce #338 2023-03-18 20:12:45 +00:00
mrfaptastic
0b4d83db47 #421 2023-03-18 11:55:56 +00:00
mrfaptastic
7d1841e355 Update ESP32-VirtualMatrixPanel-I2S-DMA.h 2023-03-18 11:36:37 +00:00
Dhruv Kumar
817d81edae Serpent-less arrangements added 2023-03-17 12:12:26 +00:00
mrfaptastic
fe5d414825 Add ZigZag options. Close #414
CHAIN_BOTTOM_RIGHT_UP_ZZ
CHAIN_TOP_RIGHT_DOWN_ZZ
2023-03-15 14:05:51 +00:00
mrfaptastic
1d21b165df Add CHAIN_TOP_RIGHT_DOWN_ZZ 2023-03-15 13:46:43 +00:00
mrfaptastic
e15f11ac46 Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp 2023-03-13 18:27:39 +00:00
mrfaptastic
112cf6ea47 Update ESP32-VirtualMatrixPanel-I2S-DMA.h 2023-03-13 09:31:04 +00:00
mrfaptastic
2852ce0e12 Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2023-03-12 10:23:46 +00:00
mrfaptastic
0e64e0d7a7 Fix arduino compile issue introduced in commit f970b78 2023-03-12 09:49:16 +00:00
mrfaptastic
edfadc7650 Rewrite of VirtualMatrixPanel
Fix chaining issue that was mentioned in #402

Compatibility breaking change to now explicitly define chaining type:  CHAIN_TOP_LEFT_DOWN, CHAIN_TOP_RIGHT_DOWN, CHAIN_BOTTOM_LEFT_UP, CHAIN_BOTTOM_RIGHT_UP
2023-03-12 09:13:55 +00:00
Lukas
e807e622a8 remove matrix_rows_in_parallel from config 2023-03-11 12:56:43 +01:00
Lukas
f970b781b9 fix: bugs of ROWS_PER_FRAME and PIXELS_PER_ROW when using default constructor
fix: bus noconfig set when using default constructor
fix: options to set config after construction, to enable use of default Constructor
     - begin(HUB75_I2S_CFG), setCfg(HUB75_I2S_CFG)
fix: second call of begin({pins}) would bug the pin between config and dma usage

fix: reorder attributes of HUB75_I2S_CFG and MatrixPanel_I2S_DMA to reduce object size (at least in debug mode)
2023-03-11 11:51:41 +01:00
mrfaptastic
763aab6f09
Update gdma_lcd_parallel16.cpp
Bring S3 flip code in line with fix provided by @Lukaswnd  for #402
2023-03-10 18:20:47 +00:00
mrfaptastic
da22841fc5
Merge pull request #410 from Lukaswnd/master
PIXEL_COLOR_DEPTH_BITS as part of HUB75_I2S_CFG
2023-03-10 18:13:09 +00:00
Lukas
c804f0d7af Make PIXEL_COLOR_DEPTH_BITS part of HUB75_I2S_CFG (able to set at runtime) 2023-03-10 11:46:17 +01:00
mrfaptastic
862b4d2f22
Update esp32_i2s_parallel_dma.cpp 2023-03-10 00:20:17 +00:00
mrfaptastic
c083b94ac5
Update esp32_i2s_parallel_dma.cpp 2023-03-10 00:19:42 +00:00
Lukas
2abd685b7a fix: _dmadesc_ loop -> better Image quality
fix: min_refresh_rate to uint16_t -> higher min_refresh_rate possible
fix: hlineDMA and vlineDMA when line starts off matrix it is now partially drawn instead of not at all -> used in Text when size > 1 and letter is scrolling out
2023-03-09 12:25:43 +01:00
mrfaptastic
e19898280a Further changes to see if there's a solution to #402 2023-02-19 18:02:57 +10:00
mrfaptastic
b262ddeaa1 Merge branch 'master' of https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA 2023-02-19 17:50:22 +10:00
mrfaptastic
9a83f26a6f Possible solution for #402
Don't have hardware to test however.
2023-02-19 17:50:18 +10:00
mrfaptastic
6cd5c72a23
Update ESP32-VirtualMatrixPanel-I2S-DMA.h 2023-02-19 16:47:52 +10:00
Kouzerumatsu / Bananafox
7bd6c7028f Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2023-02-11 13:46:34 +08:00
Kouzerumatsu / Bananafox
a5db9e0665 Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2023-02-11 00:43:07 +08:00
Kouzerumatsu / Bananafox
70c2ad6c06 Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp 2023-02-09 22:52:31 +08:00
mrfaptastic
59071660fc
Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Fix bracketing for CI
2023-02-09 07:29:14 +10:00
Kouzerumatsu / Bananafox
5a12ff59a2 Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp 2023-02-08 22:51:51 +08:00
Kouzerumatsu / Bananafox
d87ffe3be4 Merge branch 'master' of https://github.com/Kouzeru/ESP32-HUB75-MatrixPanel-DMA 2023-02-08 22:37:12 +08:00
Kouzerumatsu / Bananafox
79e1897aed Deeper color depth 2023-02-08 22:33:14 +08:00
mrfaptastic
29e04d916a Update ESP32-VirtualMatrixPanel-I2S-DMA.h 2023-02-03 22:04:55 +00:00
mrfaptastic
0a44e210be
Update esp32_i2s_parallel_dma.hpp
Makes ESP32_I2S_DEVICE adjustable via compile time define on ESP32 (original)
2023-02-03 21:37:19 +00:00
Elliot Matson
62eafc3efb
Another ESP_LOG formatting fix
CI doesn't cover the S2 or S3 models, I might see if I can fix that soon
2023-02-01 19:10:26 -06:00
mrfaptastic
15763b12b1 Update documentation on higher scan rate panels
Also breaks the VirtualMatrixPanel backward compatibility for 1/4 scan panels.
2023-02-01 21:04:19 +00:00
mrfaptastic
fd5aba7054 Merge branch 'master' of https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA 2023-01-30 04:19:29 +00:00
Elliot Matson
a367a055c9
Fix printf formatting
These lines threw errors with Arduino as an ESP-IDF component, looks like Arduino might be automatically casting them?
2023-01-29 10:18:23 -06:00
mrfaptastic
c66b592e9f It's 'COLOR' 2023-01-28 21:54:09 +00:00
mrfaptastic
ace8d938ee Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2023-01-25 23:46:34 +00:00
mrfaptastic
58757c1975 Use PLL_F160M_CLK as clock source on S3 2023-01-25 22:37:52 +00:00
mrfaptastic
dcdd3e8cad Fix #377 2023-01-22 13:22:36 +00:00
mrfaptastic
9c5737ddf1 Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2023-01-21 18:19:43 +00:00
mrfaptastic
76a69e9f84 Increase default speed 2023-01-21 18:17:20 +00:00
mrfaptastic
71a584fb52 Fix compile error on Arduino 2023-01-21 17:21:33 +00:00
mrfaptastic
9eacd9a656 Cleanup 2023-01-21 11:37:28 +00:00
Kouzerumatsu / Bananafox
655b198a78 Add Hue Spectrum Example
and to elaborate how the BCM correction works
2023-01-21 02:40:42 +08:00
Kouzerumatsu / Bananafox
ffd196d9e5
BCM accumulation correction 2023-01-20 13:32:51 +08:00
mrfaptastic
54ede42310 Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp 2023-01-08 00:20:22 +00:00
mrfaptastic
5f13a3abff Fix bug with clearScreen()
The use of clearFrameBuffer() internally was inadvertently blasting away the 'brightness' information via. the OE toggling. #366
2023-01-08 00:16:29 +00:00
mrfaptastic
9ca210d3ac Fiddle with brightness
Add new function setBrightness()
#366
Takes a value of 0-255
2023-01-07 23:59:12 +00:00
mrfaptastic
f9ff4b4078 Fix to compile issues for PlatformIO 2023-01-01 16:22:28 +00:00
mrfaptastic
ce2b6264dd Fix compilation issues with Arduino IDE
* Fix various compile errors / warnings when using Arduino 2.0 IDE (it compiles to a strict standard and errors out with unused variables etc.)
* Fix issue with compiling for ESP32-S2 using Arduino IDE
2023-01-01 15:00:44 +00:00
Elliot Matson
4db9e23b36
Fix compiler complaining about parentheses
I was getting this error when using Arduino as an ESP-IDF component, this fix cleared it up

`suggest parentheses around '-' in operand of '&' [-Werror=parentheses]`
2022-12-26 13:29:46 -06:00
chegewara
b8367d95d2 Add esp-idf standalone support,
tested with esp-idf v5.0
2022-12-17 12:54:54 +01:00
mrfaptastic
dd15dabf16 PSRAM works now on ESP32-S3
But it's pointless to use as the throughput can only be about 10Mhz.
2022-11-17 00:45:40 +00:00
mrfaptastic
f47b7f5723
Update platform_detect.hpp 2022-11-11 10:03:32 +00:00
mrfaptastic
2d5d06129a Update esp32_i2s_parallel_dma.cpp 2022-11-07 01:01:58 +00:00
mrfaptastic
84c250c668 Cleanup and a failed attempt to code a fix for #338
Didn't quite work however.
2022-11-07 00:56:44 +00:00
mrfaptastic
69686a3747 Fix hidden TX FIFO ordering bugs
On ESP32 original only. Turn byte ordering logic into a compiler macro.
2022-10-26 16:49:49 +01:00
mrfaptastic
1d29c7b520 Update ESP32-HUB75-MatrixPanel-I2S-DMA.h 2022-10-26 01:16:36 +01:00
mrfaptastic
be2102c3bc Clean up clock logic 2022-10-26 00:50:32 +01:00
mrfaptastic
23dd196013 Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp 2022-10-24 07:53:39 +01:00
mrfaptastic
99c2c569ef PSRAM exploring 2022-10-23 16:32:29 +01:00
mrfaptastic
4a9160904a Merge branch 'master' of https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA 2022-10-23 12:42:00 +01:00
mrfaptastic
e9405a9ece Fix CI issues 2022-10-23 12:41:45 +01:00
mrfaptastic
f9c609b88a
Merge pull request #333 from abrender/patch-2
Fix missing variable in ESP_LOGI call
2022-10-23 12:37:25 +01:00
mrfaptastic
0cba8a7345 Minor updates 2022-10-23 12:35:08 +01:00
mrfaptastic
d58ae512b4 Minor updates 2022-10-23 12:30:26 +01:00
Avi B
062154b4d8
Fix missing variable in ESP_LOGI call
This log line was broken in 7628be00c2 and causes a build error for esp-idf.
2022-10-10 22:37:38 -04:00
mrfaptastic
e2b9b6db36
Update Readme.md 2022-10-07 00:20:51 +01:00
mrfaptastic
4772d1d643 Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp 2022-10-05 22:04:41 +01:00
mrfaptastic
69e75cde12 Cleanup
Consistent spelling of 'colour', double buffering works technically on S3.
2022-10-05 21:47:16 +01:00
mrfaptastic
f0a5d1ad54 Update gdma_lcd_parallel16.cpp 2022-09-30 11:56:17 +01:00
mrfaptastic
30f0014b0c Enable double buffering
Doesn't work though with new refactored code on S3 device - do not use...
2022-09-30 11:31:53 +01:00
mrfaptastic
b490699eab Delete esp32_i2s_parallel_mcu_def.h.txt 2022-09-30 03:25:13 +01:00
mrfaptastic
ebe75dcaba Update to include S3 support.
Refactor tonnes of code. Double buffering not yet fully tested. PSRAM support doesn't work at all - garbled mess.

Enable in platformIO using:
build_flags =
	-DSPIRAM_FRAMEBUFFER=1
2022-09-30 03:17:19 +01:00