This is my first post on this forum and I am very new to Node Red. It seems very exciting and I have already developed a very nice home automation application which has encouraged me to explore and develop more complex applications. My environment is Node Red (V1.2.3) running on a RasPi3.
I have a question which seems very basic but I am unable to find documentation on it anywhere.
I am injecting two numbers into a function node using two input ports and one output port. The first input is Topic: distance and the second input is Topic: speed. Within the function node I would like to send the product (lets say) of distance*speed to the output. What is the syntax to identify both variables and perform a mathematical function on the two numbers within the function node ?
Any help would be appreciated.