Fastest/Best way to send data from a python script to a Processing.js script, while serial is already in use?

40 views Asked by At

I have data that is sent from a microcontroller to a python neural network over serial to process, where then, its output needs to be sent to a Processing.js script to visualize.

My question is what is the best way to do this?

MCU - serial -> Python - ? -> Processing.js

from what I found, I can use websockets, or is it possible to utilize two serial ports at the same time and send the output of the neural network over another port to Processing.js?

0

There are 0 answers