{"id":23744942,"url":"https://github.com/stm32duino/iis2mdc","last_synced_at":"2025-07-06T01:06:46.345Z","repository":{"id":46858564,"uuid":"233576522","full_name":"stm32duino/IIS2MDC","owner":"stm32duino","description":"Arduino library to support the IIS2MDC high-performance 3-axis magnetometer","archived":false,"fork":false,"pushed_at":"2022-11-23T16:40:38.000Z","size":26,"stargazers_count":5,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T14:34:52.167Z","etag":null,"topics":["iis2mdc"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stm32duino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-13T11:07:26.000Z","updated_at":"2024-11-03T11:22:04.000Z","dependencies_parsed_at":"2023-01-22T19:00:29.923Z","dependency_job_id":null,"html_url":"https://github.com/stm32duino/IIS2MDC","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/stm32duino/IIS2MDC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2MDC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2MDC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2MDC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2MDC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stm32duino","download_url":"https://codeload.github.com/stm32duino/IIS2MDC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2MDC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263833416,"owners_count":23517374,"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":["iis2mdc"],"created_at":"2024-12-31T12:51:04.100Z","updated_at":"2025-07-06T01:06:46.320Z","avatar_url":"https://github.com/stm32duino.png","language":"C","readme":"# IIS2MDC\nArduino library to support the IIS2MDC high-performance 3-axis magnetometer\n\n## API\n\nThis sensor uses I2C to communicate.\nFor I2C it is then required to create a TwoWire interface before accessing to the sensors:  \n\n    TwoWire dev_i2c(I2C_SDA, I2C_SCL);  \n    dev_i2c.begin();\n\nAn instance can be created and enabled when the I2C bus is used following the procedure below:  \n\n    IIS2MDCSensor Magneto(\u0026dev_i2c);\n    Magneto.begin();\n    Magneto.Enable();\n\nThe access to the sensor values is done as explained below:  \n\n  Read magnetometer.  \n\n    int32_t magnetometer[3];\n    Magneto.GetAxes(magnetometer);\n\n## Documentation\n\nYou can find the source files at  \nhttps://github.com/stm32duino/IIS2MDC\n\nThe IIS2MDC datasheet is available at  \nhttps://www.st.com/en/mems-and-sensors/iis2mdc.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstm32duino%2Fiis2mdc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstm32duino%2Fiis2mdc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstm32duino%2Fiis2mdc/lists"}