From 3768eadd978574d7c739ad79746cf8c5392aab84 Mon Sep 17 00:00:00 2001 From: jepohle Date: Tue, 28 May 2024 15:59:39 +0100 Subject: [PATCH] added comments --- firmware/firmware.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/firmware.ino b/firmware/firmware.ino index 37802dd..b96c7a3 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -1,7 +1,7 @@ #include // input to msgpack -MsgPack::arr_t v {1, 2, 3, 4}; // std::vector or arx::stdx::vector +MsgPack::arr_t v {1, 2, 3, 4}; // Data stored as {reading1, reading2, reading3, time passed} int prev; int timer; String mode; @@ -19,7 +19,7 @@ void setup() { digitalWrite(5, HIGH); // Wait for start message to be sent while (Serial.available()==0){} - if (Serial.available() != 0){ // Initilise IO for first readings + if (Serial.available() != 0){ // Initilise IO for first readings mode = Serial.readString(); enable_io(mode); }