How to use windows as raspberry pi and connect the windows with another raspberry pi [closed]
2024/11/16 6:55:28
I'm using Python 3,ı want to send input from first raspi and change the output from second raspi.For example ı have a button,when ı press the button,ı want one message to be seen on the screen,when ı release the button ı want the message on the screen to be changed.I did everything correctly up to here.Now I want to use first raspi as button and ı want the messages to be seen and changed on second raspi.But the problem is that ı don't have second raspi,my boss said that ı could use my windows/laptop as second raspi.I could not find how to do that –
Answer
You can't "use windows as a raspberry pi".
What your boss probably meant was to run the same code on your own computer and have the Pi communicate with it...
You would need to look into using the socket module or a library like SocketIO or ZMQ, where your Windows machine would "listen" for incoming requests on some port, and the raspberry pi would have to connect explicitly to that port on the remote machine
If by "screen" you mean a web browser, then you would just use Javascript to update the display, and the backing API server (of any language) would store your change
Is something like this possible? Id like to use a dictionary or set as the key for my file renamer. I have a lot of key words that id like to filter out of the file names but the only way iv found to …
This question already has an answer here:How to change the font-style of code comments in vscode?(1 answer)Closed 6 months ago.Seems like with the latest VS Code update, all the comment font style has…
I have a set of similar images like the one below. I want to keep the portion of the image that is within the top red irregular rectangle (green arrows represent the space that I want to keep; anything…
Im trying to get the current html5 video tag URL using selenium (with python bindings):from selenium import webdriverdriver = webdriver.Chrome()
driver.get(https://www.youtube.com/watch?v=9x6YclsLHN0)…
Hope you are having a good day. I am currently working with an extremely dirty dataframe containing First Name, Last Name, and Middle Name. One the issues that I am trying to resolve looks like below:F…
Hello I have been trying to plot data in a Orthographic projection. The data is plotted but I want the box to follow the data limits. Like in this example I am sharing form M_map[enter image descriptio…
I am making a discord.Client. I have a DM command that sends a DM to a specific user, but no message is sent to the user when the command is run, but a message is sent on the Context.channel.
Here is m…
I have written an if-elif statement, which I believe not be very efficient:first_number = 1000
second_number = 700
switch = {upperRight: False,upperLeft: False,lowerRight: False,lowerLeft: False,middle…
From this website, there is a way to form a list in Python from loop in one line
squares = [i**2 for i in range(10)]My question is, typically, after a loop, there is a colon, e.g.,
squares = []
for i i…