Arduino Library
The Electrochemical Gas Sensor Soldered library reads this board over I2C.
You include Electrochemical-Gas-Sensor-SOLDERED.h, create an
ElectrochemicalGasSensor with the SENSOR_NO preset and the board's address,
call begin() once and getPPM() for each reading.
Not installed yet? Follow Quick Start before using the functionality pages.
Functionality
Each page starts with one verified library example and explains every function the example uses to get that result.
The address you pass to the constructor decides how the library reaches the
board. For 0x30 to 0x37 it talks to the board's ATtiny404 bridge; the board
ships at 0x30, which the bridgeBoard example passes. For any other address,
such as the library's default, 0x49, it talks to the ADS1115 at that address
and to the LMP91000 directly, and drives LMPEN from a GPIO when the example
passes one. Each page shows one example from the library at the pinned commit.
Every example works as written on this board over Qwiic: begin() succeeds
at the address the example passes. See
Hardware Details
for the pinout and the ADS1115 address jumpers.