EDIT: Changing the pins fixed this problem.
I am using the i2c bus (which I’ve started with SDA 16 & SCL17). There are three sensors (CO2, pH, & EC) attached to an ADS1115 - although the program is only reading from one of them at the moment.
The EC sensor causes interference with the pH sensor and needs to be turned off before a pH reading is taken. I’d like to use Vext for this. However, when I connect the Vcc of the sensor to Vext, the program seems to stop running. It resumes immediately if I disconnect the sensor from Vext.
Any ideas on what might be causing this or how to fix it?
Thank you!