README File

main
BryanMartinMirandaLeal 3 weeks ago
parent 16410cd83a
commit 126704d5c3

@ -7,4 +7,31 @@ measured, but these printed numeric data to be separated by commas so that it tu
the printed information into a .CSV file, since this is the most common format used for data analysis with the Python
language tools we work with.
## I2C address and device list
![i2c address](21.png)
![device list](22.png)
In the code lines 21 to 25, we have added instructions for the conductivity and dissolved oxygen circuits, including
also the I2C addresses corresponding to each one of them. In this case, we have removed the instruction for the pH
circuit since this parameter at the end was not considered as representative in the specific application that was being
developed.
In the code lines 27 to 33, the names of the conductivity and dissolved oxygen circuits are added to the _device list_
so that we can refer to them using their corresponding names.
## Enable pins in the microcontroller
![enable_pins_1](23.png)
![enable_pins_2](24.png)
In the line 41 of the code, we need to set the pin number needed for our dissolved oxygen circuit, corresponding
with the connection this circuit will have with the ESP32 microcontroller.
In the **setup** function, we also need to set up the **pinMode** for the added circuits, specifically if they need
to have a **LOW** or **HIGH** digital value in the corresponding circuit.
## step3 function
hh

Loading…
Cancel
Save