Apollon77 / I2CSoilMoistureSensor

Simple Arduino Library for the I2C Soil Moisture Sensor version from Chirp (https://github.com/Miceuz/i2c-moisture-sensor)
MIT License
73 stars 27 forks source link

Unable to initialise #20

Closed thpe closed 4 years ago

thpe commented 4 years ago

Hi, I have an issue to get past sensor.begin() in the examples. It just hangs there. I'm using the catnip lora node (with an M0) and wired it according to the manual. Is there some issue using this on a M0?

thpe commented 4 years ago

Ok, my fault. The catnip lora node can shutdown bus power to i2c. So, pin 5 needs to be set low and, suddenly it works.