Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #define A 3.8631e8
  2. #define B -2.438
  3. float adcToDist(int adc) {
  4.   return A*powf(adc, B);
  5. }