Collab request
Hi Nosix! I'm Thomas and I'm building a Raspberry Pi startup company involving an emulator.
I would love a chat about a potential collab. Would you be free for that?
Thanks, great stuff you built here!
Hi Thomas.
Although I cannot lend you my time, please feel free to use the source code for both commercial and non-commercial purposes. Feel free to make changes. I can also answer any questions that do not require investigation.
(Translated using Google Translate.)
Hi @nosix , thanks for responding! You have built an amazing library & I will use it well!
Hi @nosix , I have a question. I am hoping to use this library to use on a Flask app instead of Desktop.
Where do you recommend me start to re-purpose the library?
I am reading into yr code and I believe ui_server.py and launcher.py
Am I correct?
Hi Thomas.
I haven't maintained this project for a long time, so my memory is a bit unclear, but it should probably work as described below.
As stated in the README, when you execute the following, launcher.py is imported, and within the process of launcher.py, a child process is forked.
import RPi.GPIO as GPIO
In the parent process, the UI class from ui_client.py is used, while in the child process, the UI class from ui_server.py is used. When a method of the UI class in ui_client.py is called, it writes data to a Pipe, and the __update method of the UI class in ui_server.py reads the data from the Pipe.
I'm sorry if my answer does not match the intent of your question.