Comments (5)
Thanks a lot for your help, I will take a better look at the tcp connection files and try to see if I can make it work :)
Btw it would suck if I didn't show you what I'm using your codes for, I've been trying to build the cheapest open source A.R. goggles and your screenshotreceiver code helped me greatly in testing video output and positioning.
Here are the links, if you have an I.G. profile, I'll gladly tag you in all the posts,
my profile
CheApR_glasses A
CheApR_glasses B
CheApR_glasses C
from lovyangfx.
Hello.
ScreenShotReceiver uses a startWrite function and DMA transfer to occupy the SPI bus.
This makes it difficult to control two panels on the same SPI bus.
The most reliable solution is to assign a separate SPI to each of the two panels.
One to the DMA1 channel of VSPI.
Set the other one to HSPI's DMA2 channel.
Assign different GPIOs to each one.
from lovyangfx.
Great news, I was able to setup the dual display using your Party_Parrots examples and my st7789 based displays,
I do not know how to use github but I will leave the working codes here in case someone wants to replicate it: https://pastebin.com/vQFhi7Z3
Sadly for the screenReceiver, I'm still stuck, I can not run them at the same time, it's either the right one or the left one, but not both,
I have tried to create another instance of recv.loop, like this '
// recv.loop(); // left display
recvB.loop(); // right display'
but recvB doesn't receive any data, I can see that both screen work by alternating between &lcd // &lcdB in the setup, here's my current codes
https://pastebin.com/Vsu0A5zH
Thanks a lot for your help, I'm making some progress +1
from lovyangfx.
Congratulations. I'm glad your multi-monitor setup worked out.
From here on out, this is the topic of ScreenShotReceiver, so it is out of the scope of support for LovyanGFX.
ScreenShotReceiver has never been in demand to run multiple simultaneous It is designed to wait for a TCP connection on a specific port. It is not currently designed to handle multiple connections at the same time.
I think you'll need to modify the source code in various ways.
from lovyangfx.
Your AR glasses are interesting !!
By the way, probably increasing the number of TCP connections would be difficult and slow in terms of speed.
In my opinion, it would be better to split a single horizontal JPG in the center and extract it to separate DMA buffers on the left and right sides.
If you want to continue on this topic after this, please create a new Issue in ESP32_ScreenShotReceiver.
from lovyangfx.
Related Issues (20)
- The screen is initialized correctly every 2 times HOT 9
- drawEllipseとfillEllipseの、rxとryの一方だけが0のときの挙動について HOT 2
- Freeze using tft.getTouch(...) with a FT5x06 I2C capacitive touch screen HOT 3
- I need support for the CYD board (cheap yellow display) ESP32-2432S028R HOT 8
- Lilygo AMOLED series HOT 20
- Support for MakerFab 2.1 inch round MaTouch ESP32-S3 based controller HOT 3
- LilyGo AMOLED Series HOT 1
- Expose XPT2046 ability to measure VBAT HOT 4
- Endianness Inconsistency HOT 2
- Failing to build after updating platformio HOT 2
- Help me , ST7735S cannot drive 80*160 screen normally
- Color Inversion Not Working Correctly with ST7789 Display. HOT 2
- build error with cross-compiler when using SDL2 HOT 6
- Add M5Stack_Fire HOT 1
- Support for ESP32-S3-Box v3 HOT 35
- Screen tearing when using a Makerfabs Matouch 4.0" 480x480 parallel LCD screen HOT 7
- Support ST7701s IPS TFT 5 inch 854x480 RGB+SPI With ESP32-S3 HOT 15
- ST7789 cannot get it to work HOT 3
- tft.getTouch(&touchX, &touchY); freeze loop() HOT 3
- Support for 4.3" RGB Interface HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovyangfx.