Examples

Warning

This project is under development and not ready for use.

The following examples are provided in the library:

alarm-nofitication

Readout of the sensor gas concentration based on threshold crossing and synched via hardware interrupt

continuous-mode

Readout of the sensor gas concentration value using continuous measurement mode

device-id

Readout of the sensor devices product and revision identifiers

early-notification

Readout of the sensor gas concentration based on early notification synched via hardware interrupt

forced-compensation

Set gas reference offset using forced compensation

single-shot-mode

Readout of the sensor gas concentration value using single shot measurement mode

a2l-gas-selection

Readout of the sensor gas concentration value using A2L gas selection (for PAS A2L sensor only)

You can find more details regarding the examples in the example code itself. All the important parts are documented.