Skip to content

Instantly share code, notes, and snippets.

@Shadow6363
Created March 27, 2013 18:43
Show Gist options
  • Save Shadow6363/5256917 to your computer and use it in GitHub Desktop.
Save Shadow6363/5256917 to your computer and use it in GitHub Desktop.
case 'E': // Receive sensor filtering values
aref = readFloatSerial();
minArmedThrottle = readFloatSerial();
break;
case 'F': // Receive transmitter smoothing values
receiverXmitFactor = readFloatSerial();
for(byte channel = XAXIS; channel<LASTCHANNEL; channel++) {
receiverSmoothFactor[channel] = readFloatSerial();
}
break;
case 'G': // Receive transmitter calibration values
channelCal = (int)readFloatSerial();
receiverSlope[channelCal] = readFloatSerial();
break;
case 'H': // Receive transmitter calibration values
channelCal = (int)readFloatSerial();
receiverOffset[channelCal] = readFloatSerial();
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment