diff options
Diffstat (limited to 'libraries/detectorBuilding/src/detectorBuilding.h')
-rw-r--r-- | libraries/detectorBuilding/src/detectorBuilding.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libraries/detectorBuilding/src/detectorBuilding.h b/libraries/detectorBuilding/src/detectorBuilding.h index b82cc35..a69c77c 100644 --- a/libraries/detectorBuilding/src/detectorBuilding.h +++ b/libraries/detectorBuilding/src/detectorBuilding.h @@ -12,17 +12,17 @@ const int LED_R = 4, LED_G = 3, LED_B = 2, THERM = 0; // Device component pins const double R_k = 10000, V_in = 5, analog_max = 1023; // Device constants -inline double f2c(double f); -inline double c2f(double c); -inline double k2c(double k); -inline double c2k(double c); -inline double f2k(double f); -inline double k2f(double k); +double f2c(double f); +double c2f(double c); +double k2c(double k); +double c2k(double c); +double f2k(double f); +double k2f(double k); -inline double a2d(int a); -inline int d2a(double d); +double a2d(int a); +int d2a(double d); -inline double v2r(double V_out); +double v2r(double V_out); void sort(double a[], int n); |