FSG / System

Dependents:   7_21_17_FSG 7_26_17_FSG

Fork of System_ by FSG

Committer:
tzyoung
Date:
Thu Apr 27 13:16:07 2017 +0000
Revision:
0:45085dd174e7
Child:
3:9764b0bd8cb9
initial release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tzyoung 0:45085dd174e7 1 #include "conversions.hpp"
tzyoung 0:45085dd174e7 2
tzyoung 0:45085dd174e7 3 float counts_to_dist(int count)
tzyoung 0:45085dd174e7 4 {
tzyoung 0:45085dd174e7 5 float conv = -0.1912*count+507.2;
tzyoung 0:45085dd174e7 6 return conv;
tzyoung 0:45085dd174e7 7
tzyoung 0:45085dd174e7 8 };