'** R/C **
'Measure the pulse width of the incoming RC signal


PulsIn Throtpin, 0, Throttle


IF Throttle = 0 Then
GoTo EmergencyOff
EndIF

IF Throttle < ThrottleTrim - 6 Then
MSG_LCD=5
GoTo EmergencyOff
endIF


PumpMath = (Throttle - ThrottleMin) * 100 / dioScalefactor

if (PumpMath > 100) or (PumpMath <=0) then
PumpMath=1
endif