Closed Lyr3x closed 5 years ago
That looks like the right way to do it; the only thing I would try adding is digitalWrite(ROOM_XSHUT, LOW);
(and same with the other pin) to make sure they are driving low.
If that doesn't help, and you are still looking for assistance, could you please post on our forum? That is a more appropriate place for troubleshooting; the GitHub issues are intended for tracking bugs and feature requests related to the library code. This doesn't currently look like it's related to the library functionality, so I'm going to close this issue for now.
Whats the correct way to soft reset sensors? I tried to perform the steps which are initially used in the setup() function again but that is not working.
Background: It happend sometimes that the sensors are getting timeouts or wrong values after a few days. When that is happening i just want to soft reset them instead of power off the whole system.