From 6acfbf4154f5800c3c5da622a95ee11d69fa78f6 Mon Sep 17 00:00:00 2001 From: benjamenm03 Date: Tue, 23 Jan 2024 17:16:41 -0500 Subject: [PATCH] update --- labs/lab-3_1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/lab-3_1.md b/labs/lab-3_1.md index 8ea5803..da35338 100644 --- a/labs/lab-3_1.md +++ b/labs/lab-3_1.md @@ -111,7 +111,7 @@ Whenever you perform a calibration curve, or want to read accurate values to the - [Link to TMP36 Spec Sheet](https://drive.google.com/file/d/10Lu2-s9MYqh0s0O6Nkxy8E_LDwDpnZ7T/view?usp=sharing) -Just like we did in the last lab, we now need to plug in the TMP36 to an analog pin on the Arduino, and read it using `analogRead()` and `Serial.println()`. Add this to the code used for measuring the battery voltage with comma-separated values. (Hint: You can use `Serial.print()` to print values without a newline character between them, which may help you print csv integers to the serial monitor for testing. Then you can just use `Serial.print(",");` to add a comma between the values). +Just like we did in the last lab, we now need to plug in the TMP36 to an analog pin on the Arduino, and read it using `analogRead()` and `Serial.println()`. Add this to the code used for measuring the battery voltage with comma-separated values. (Hint: You can use `Serial.print()` to print values without a newline character between them, which may help you print csv integers to the serial monitor for testing. Then you can just use `Serial.print(",");` to add a comma between the values. The last line you print, which will be the last sensor column of your csv matrix, should use `Serial.println()` in order to make a new line for the next data read). Here is the wiring diagram again for your reference: