From e152160b6cd64bbeb05e5e69fda118d51ff0ce58 Mon Sep 17 00:00:00 2001 From: Ta180m Date: Fri, 21 Feb 2020 16:06:38 -0600 Subject: Create Detector_Building_v2.ino --- Detector_Building_v2/Detector_Building_v2.ino | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Detector_Building_v2/Detector_Building_v2.ino diff --git a/Detector_Building_v2/Detector_Building_v2.ino b/Detector_Building_v2/Detector_Building_v2.ino new file mode 100644 index 0000000..e4d73be --- /dev/null +++ b/Detector_Building_v2/Detector_Building_v2.ino @@ -0,0 +1,34 @@ +/* + Detector Building v2 + Code by Anthony Wang + Ladue High School Science Olympiad +*/ + +/* + TODO: + New calibration method using cubic regression +*/ + +#include +#include + + +const int n = 30; // Number of data points +const int m = 1; // Number of segments +double V[n] = { // Voltage measurements + 2.12, 3.26, 3.96 +}; +double T[n] = { // Temperature measurements + 22.0, 39.15, 60 +}; + +void loop() { + +} + +void setup() { + Serial.begin(9600); + pinMode(LED_R, OUTPUT); + pinMode(LED_G, OUTPUT); + pinMode(LED_B, OUTPUT); +} -- cgit v1.2.3-70-g09d2