Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 507 Bytes

examples.rst

File metadata and controls

18 lines (13 loc) · 507 Bytes

Simple test

Ensure your device works with this simple test.

.. literalinclude:: ../examples/cap1188_simpletest.py
    :caption: examples/cap1188_simpletest.py
    :linenos:

Advance test

This example show the new feature included in the library allowing the possibilite the configure the averaging, cycle and sample. For reference please see Sensor Datasheet.

.. literalinclude:: ../examples/cap1188_advancedtest.py
    :caption: examples/cap1188_advancedtest.py
    :linenos: