dyonisos
31-07-2010, 13:59
Please help sh scripting experts.
I want to add the numbers in a string as follows
signal="0 1 1 0"
meaning 0+1+1+0
and ouput the result in a new variable. Thanks a lot.
I am using my wl-500gP with the Velleman board reading digital inputs.
I want to add the numbers in a string as follows
signal="0 1 1 0"
meaning 0+1+1+0
and ouput the result in a new variable. Thanks a lot.
I am using my wl-500gP with the Velleman board reading digital inputs.