{"id":15142100,"url":"https://github.com/tkomde/circuitpython_qmi8658c","last_synced_at":"2025-08-26T15:23:34.302Z","repository":{"id":203444998,"uuid":"709620791","full_name":"tkomde/CircuitPython_QMI8658C","owner":"tkomde","description":"CircuitPython helper library for the QMI8658C 6-DoF Accelerometer and Gyroscope","archived":false,"fork":false,"pushed_at":"2025-01-11T02:19:28.000Z","size":68,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T20:40:02.316Z","etag":null,"topics":["circuitpython"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkomde.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-25T03:59:52.000Z","updated_at":"2025-01-11T02:16:52.000Z","dependencies_parsed_at":"2023-12-19T02:27:35.082Z","dependency_job_id":"9a49a920-0fca-4143-a4a4-042251c659a9","html_url":"https://github.com/tkomde/CircuitPython_QMI8658C","commit_stats":null,"previous_names":["jins-tkomoda/circuitpython_qmi8658c","tkomde/circuitpython_qmi8658c"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FCircuitPython_QMI8658C","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FCircuitPython_QMI8658C/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FCircuitPython_QMI8658C/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FCircuitPython_QMI8658C/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkomde","download_url":"https://codeload.github.com/tkomde/CircuitPython_QMI8658C/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237877021,"owners_count":19380344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circuitpython"],"created_at":"2024-09-26T09:22:47.371Z","updated_at":"2025-02-08T21:32:21.783Z","avatar_url":"https://github.com/tkomde.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\nCircuitPython helper library for the QMI8658C 6-DoF Accelerometer and Gyroscope\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n\n.. image:: https://github.com/jins-tkomoda/CircuitPython_QMI8658C/workflows/Build%20CI/badge.svg\n    :target: https://github.com/jins-tkomoda/CircuitPython_QMI8658C/actions\n    :alt: Build Status\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n* `Bus Device \u003chttps://github.com/adafruit/Adafruit_CircuitPython_BusDevice\u003e`_\n* `Register \u003chttps://github.com/adafruit/Adafruit_CircuitPython_Register\u003e`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://circuitpython.org/libraries\u003e`_\nor individual libraries can be installed using\n`circup \u003chttps://github.com/adafruit/circup\u003e`_.\n\nInstalling from PyPI\n=====================\n.. note:: This library is not available on PyPI yet. Install documentation is included\n   as a standard element. Stay tuned for PyPI availability!\n\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n    pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n    circup install qmi8658c\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n    circup update\n\nUsage Example\n=============\n\n.. code-block:: python3\n\n    import time\n    import board\n    import qmi8658c\n\n    i2c = board.I2C()  # uses board.SCL and board.SDA\n    sensor = qmi8658c.QMI8658C(i2c)\n\n    while True:\n        ac = sensor.acceleration\n        gy = sensor.gyro\n        print(f\"Acceleration: X:{ac[0]:.2f}, Y:{ac[1]:.2f}, Z:{ac[2]:.2f} m/s^2\")\n        print(f\"Gyro X:{gy[0]:.2f}, Y:{gy[1]:.2f}, Z:{gy[2]:.2f} rad/s\")\n        print(f\"Temperature: {sensor.temperature:.2f} C\")\n        print(\"\")\n        time.sleep(1)\n\n\nUsage Note\n=============\n\nAccelerometer low power(LP) mode must be a gyro disabled.\n\n.. code-block:: python3\n\n    sensor.gyro_enable = 0\n    sensor.accelerometer_rate = AccRate.RATE_LP_21_HZ\n\n\nDocumentation\n=============\nAPI documentation for this library can be found on `Read the Docs \u003chttps://circuitpython-qmi8658c.readthedocs.io/\u003e`_.\n\nFor information on building library documentation, please check out\n`this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/jins-tkomoda/CircuitPython_QMI8658C/blob/HEAD/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkomde%2Fcircuitpython_qmi8658c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkomde%2Fcircuitpython_qmi8658c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkomde%2Fcircuitpython_qmi8658c/lists"}