Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamenm03 committed Jan 23, 2024
1 parent b641344 commit 6c3c9ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions labs/lab-3_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ You know on the Arduino Nano this value will be between 0-1024, and that your ma

Your battery, however, has a higher voltage than that. We now need to undo the effects of the voltage divider to determine the battery's original voltage. Since we used the same resistance on either side of the voltage divider, the voltage is being cut in half. Therefore, we can simply multiply the Arduino's recorded voltage by 2 to get the 9V battery's voltage. It should be somewhere between 8 and 10V.

<div class="primer-spec-callout info" markdown="1">
Note that the values displayed in the serial monitor are rounded, and don't show us as accurate of voltages as we would like. This is because the value is stored as an "int", or integer. To obtain decimal places, change this to a double.
</div>

### 3. Adding the Temperature Sensors

<div class="primer-spec-callout danger" markdown="1">
Expand Down

0 comments on commit 6c3c9ef

Please sign in to comment.