Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1004 Bytes

examples.rst

File metadata and controls

44 lines (30 loc) · 1004 Bytes

Simple test

Ensure your device works with this simple test.

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

LED test

Testing the LED

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

Flicker Detection

Showing how to use flicker detection

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

Batched Readings Example

Example in how to get all the channel readings at the same time

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

DisplayIO Simpletest

This is a simple test for boards with built-in display.

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