PumpMath = (Throttle - ThrottleMin) * 100 / RadioScalefactor
if (PumpMath > 101) or (PumpMath < 0) then
PumpMath=0
endif
if (CurrentStep + 1 < PumpMath) and (PumpMath < 100) Then
IF (CurrentStep < PumpMath) Then
CurrentStep = CurrentStep + 1
EndIF
IF (CurrentStep > PumpMath) Then
CurrentStep = CurrentStep - 1
EndIF
endif
if (CurrentStep - 1 > PumpMath) and (PumpMath >0) Then
IF (CurrentStep < PumpMath) Then
CurrentStep = CurrentStep + 1
EndIF
IF (CurrentStep > PumpMath) Then
CurrentStep = CurrentStep - 1
EndIF
endif
Bookmarks