Git Product home page Git Product logo

Comments (5)

neofuturism avatar neofuturism commented on August 18, 2024 1

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.

lovyan03 avatar lovyan03 commented on August 18, 2024

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.

neofuturism avatar neofuturism commented on August 18, 2024

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.

lovyan03 avatar lovyan03 commented on August 18, 2024

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.

lovyan03 avatar lovyan03 commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.