replace sensor in arduino code

Job ID: 36530663

Budget: $10 – $30 USD

I need to make a change to this code

https://drive.google.com/file/d/1mp9dU2KBtzSASh1PtFU_wWJdqdENBAED/view

removing this sensor

Adafruit STEMMA Soil Sensor - I2C Capacitive Moisture Sensor
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-stemma-soil-sensor-i2c-capacitive-moisture-sensor.pdf

and adding this

Generic Capacitive Moisture Sensor v1.2
https://media.digikey.com/pdf/data%20sheets/dfrobot%20pdfs/sen0193_web.pdf
Related categories: C Programming C++ Programming Arduino