I have a function SetTFgr (float T, int FGr)SetTFgr(float T, int FGr) to set the time and filtergrade of my LED enlarger.
It
It works without a problem and changes the values of TT or FgrFgr according to the buttons I press. Both TT and FGrFGr are global veriablesvariables.
Now I want to use the same funtion with different variables.
When I call the function with SetTFgr(TExp[i], FGrExp[i])SetTFgr(TExp[i], FGrExp[i]) I would expect the function to work with the values of TExp[i]TExp[i] or FGrExp[i]FGrExp[i] and increase/decrease these values. It does not, it appears to use the value of TT or Fgr in steadFgr instead.
How can I get what I am after?