You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the [`examples`](./examples) directory for more examples.
52
55
56
+
### Reset
57
+
58
+
Optionally, you can connect the reset pin on the board (marked RST), to a pin on the Pi. Call the `reset()` method to reinitialize the sensor which can recalibrate it instead of having to cycle the power. A Promise is returned that resolves when the board has been reset.
59
+
60
+
See [this page about how to specify a pin](https://github.com/nebrius/raspi-gpio#pin-naming).
61
+
62
+
In addition, the `reset` event is also emitted.
63
+
64
+
```
65
+
var cap = require("CAP1188").connect(I2C1, { resetPin: 0 }); // using WiringPi number for BCM17
0 commit comments