... | ... | @@ -46,7 +46,7 @@ For bus wiring, we envision using the [Qwiic system](https://www.sparkfun.com/qw |
|
|
| SHTC3 | [Adafruit](https://www.adafruit.com/product/4636), [Sparkfun](https://www.sparkfun.com/products/16467) | Not tested, [potential driver available](https://github.com/adafruit/Adafruit_CircuitPython_SHTC3) |
|
|
|
| SHT31-D | [Adafruit](https://www.adafruit.com/product/2857) | Not tested, [potential driver available](https://github.com/adafruit/Adafruit_CircuitPython_SHT31D) |
|
|
|
|
|
|
## Periodic or continuous logging
|
|
|
## Periodic logging
|
|
|
|
|
|
The logging scripts for I2C sensors normally take only one sample and cron can be used for periodic logging. We normally make a `~/shell.nix` file and a logging script that will open the Nix shell and run the correct tool with the desired arguments. Then we use `crontab` to run this script periodically. Because cron runs non-login shells, we need to add additional configuration to make the `nix-shell` command available. See the snippets below.
|
|
|
|
... | ... | |