-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'softReset()' fails to reduce power. #28
Comments
Update: By issuing a "general reset" not using BusIO, the command functions as expected. This requires a target address of A solution would be to manually pass the Wire interface as an optional argument since a pointer to the interface is not exposed by boolean Adafruit_SGP30::softReset(TwoWire* theWire = &Wire) {
theWire->beginTransmission(0x00);
theWire->write(0x06);
return theWire->endTransmission();
} |
Yes, I have it restart every 5m and it seems to work fine after the first few readings. It seems to read 400 for about 10s but after that I beleive it gives genuine readings. |
Replication:
Outcome:
The text was updated successfully, but these errors were encountered: