.. _lexamples:

Examples
========

The following `examples <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples>`_ are provided in the library:

.. list-table::

    * - `alarm-nofitication <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples/alarm-notification>`_         
      - Readout of the sensor CO2 concentration based on threshold crossing and synched via hardware interrupt  
    * - `continuous-mode <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples/continuous-mode>`_ 
      - Readout of the sensor CO2 concentration value using continuous measurement mode
    * - `device-id <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples/device-id>`_    
      - Readout of the sensor devices product and revision identifiers 
    * - `early-notification <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples/early-notification>`_    
      - Readout of the sensor CO2 concentration based on early notification synched via hardware interrupt 
    * - `forced-compensation <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples/forced-compensation>`_    
      - Set CO2 reference offset using forced compensation 
    * - `single-shot-mode <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples/single-shot-mode>`_ 
      - Readout of the sensor CO2 concentration value using single shot measurement mode
    * - `continuous-mode-uart <https://github.com/Infineon/arduino-pas-co2-sensor/tree/master/examples/continuous-mode-uart>`_
      - Readout of the sensor CO2 concentration value using continuous measurement mode for UART