Hi guys,
here is the situation:
I have a board based on the
Moteino that plugs into the Raspi and talks to node-red over /dev/ttyAMA0.
OTOH I also write the Arduino program on the Raspi itself and upload it over the same /dev/ttyAMA0.
When I do that I get an error: connection in use. Makes sense... So I open node-red editor, disconnect the flow from the serial port, deploy, upload the sketch, reconnect to the serial port, deploy, test/change the sketch, disconnect... You get it!
Is there another way to disconnect the serial port from node-red? E.g. via command line or so...
Hermann