I would like to exchange data between Node-RED on Linux and an Arduino Sketch on the Portenta X8 board. Can anyone point me in the right direction? Thank you!
load up MQTT Broker, on the linux machine have the clients, the x8 board, pass the data to the Broker, have Node-Red connect to the Broker to display the data.
Thanks, but I'm looking to use Node-RED on Linux to obtain data from the Arduino sketch. This example is close, but I'd like to use Node-RED as a replacement for the python code:
https://docs.arduino.cc/tutorials/portenta-x8/python-arduino-data-exchange.
Does anyone know how to communicate between Linux and an Arduino Sketch on a Portenta X8 using node.js? The key would be making the RPC calls from node.js. Thanks in advance!