aboutsummaryrefslogtreecommitdiff
path: root/libraries/detectorBuilding/detectorBuilding.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/detectorBuilding/detectorBuilding.h')
-rw-r--r--libraries/detectorBuilding/detectorBuilding.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/detectorBuilding/detectorBuilding.h b/libraries/detectorBuilding/detectorBuilding.h
new file mode 100644
index 0000000..b9cf4ee
--- /dev/null
+++ b/libraries/detectorBuilding/detectorBuilding.h
@@ -0,0 +1,26 @@
+/*
+ detectorBuilding.h - Library for Detector Building utility functions
+ Created by Anthony Wang, February 21, 2020.
+ Released into the public domain.
+*/
+
+#ifndef detectorBuilding_h
+#define detectorBuilding_h
+
+#include "Arduino.h"
+
+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);
+
+inline double a2d(int a);
+inline int d2a(double d);
+
+void sort(double a[], int n);
+
+void calculate();
+
+#endif \ No newline at end of file