aboutsummaryrefslogtreecommitdiff
path: root/libraries/detectorBuilding/detectorBuilding.h
blob: 668048c3c9838c04f92f234d262aaf2156808cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
  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);

inline double v2r(double V_out);

void sort(double a[], int n);

void calculate();

#endif