Ensure your device works with this simple test.
.. literalinclude:: ../examples/qwiicjoystick_simpletest.py :caption: examples/qwiicjoystick_simpletest.py :linenos:
- Basic Readings - Print the joystick position and button status.
.. literalinclude:: ../examples/example1_basic_readings.py :caption: examples/example1_basic_readings.py :linenos:
- Change I2C Address - Change the device I2C address.
.. literalinclude:: ../examples/example2_change_i2c_address.py :caption: examples/example2_change_i2c_address.py :linenos:
- I2C Scanner - Scan the IC2 bus for devices.
.. literalinclude:: ../examples/example3_i2c_scanner.py :caption: examples/example3_i2c_scanner.py :linenos:
- Joystick Output - Print joystick position and button status as directions.
.. literalinclude:: ../examples/example4_joystick_output.py :caption: examples/example4_joystick_output.py :linenos: