I hope I didn't miss any post or information which would resolve my issue, but I seem to be unable to find anything.
I'm quite new to Node-Red and Node.Js in general, just been able to run a few other things yet, which have been a lot easier to manage.
I want to run a C executable via the exec-node, input variables and get different variables back.
The program is basically a script deciding the appropriate output in regards to the input. These variables change each time the exec-node is run in a set interval.
My problem right now is the communication between the C-Code and Node-Red. I have compiled a basic "addOne"-program.
An Input Variable in Node-Red should be set to whatever number I want, the program adds 1 and outputs the result. For later implementation it is not necessary that the output is a different variable but it would be helpful.
I'm unable to set the variable in Node-Red or get the program to use any set variable and am a bit lost on what to search for after having found nothing that resolved my issue.
If I missed anything please let me know.