• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/03-Aug-2024-1814

src/03-Aug-2024-3421

CMakeLists.txtD03-Aug-2024193 85

README.rstD03-Aug-2024492 3120

prj.confD03-Aug-2024136 87

sample.yamlD03-Aug-2024180 98

README.rst

1.. co2:
2
3Generic CO2 polling sample
4##########################
5
6Overview
7********
8
9A sensor sample that demonstrates how to poll a CO2 sensor.
10
11Building and Running
12********************
13
14This sample reads the CO2 sensor and print the values continuously.
15
16.. zephyr-app-commands::
17   :zephyr-app: samples/sensor/co2_polling
18   :board: <board to use>
19   :goals: build flash
20   :compact:
21
22Sample Output
23=============
24
25.. code-block:: console
26
27   CO2 940 ppm
28   CO2 950 ppm
29
30<repeats endlessly>
31