Go Down

Topic: SocketIO (Read 171 times) previous topic - next topic

tolis81

I have successfully implement a SocketIO server on the Linux side using Python along Flask and Flask-SocketIO.

I need to exchange data between the server and the MCU, which should act as a client.
How can this be accomplished?

Or any suggestion about a more convenient way to exchange data between the MCU and a Python script?
A way I am thinking to do this, is writing environmental variables but honestly it sounds a bit silly...

My goal is to create a GUI embedded on YUN so I can interact with the sketch in real-time.

speccy

Just use the bridge
https://github.com/arduino/YunBridge/blob/master/bridge/bridgeclient_example.py
On the Python side

https://www.arduino.cc/en/Reference/YunBridgeLibrary
On the Arduino side

tolis81

Much simpler. Thanks!

Go Up