{"id":23744945,"url":"https://github.com/stm32duino/iis2dlpc","last_synced_at":"2026-03-07T14:30:19.822Z","repository":{"id":54816599,"uuid":"300204793","full_name":"stm32duino/IIS2DLPC","owner":"stm32duino","description":"Arduino library to support the IIS2DLPC 3D accelerometer","archived":false,"fork":false,"pushed_at":"2021-10-05T16:15:03.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-31T12:52:03.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-01T08:29:05.000Z","updated_at":"2021-10-05T16:15:05.000Z","dependencies_parsed_at":"2022-08-14T03:40:44.328Z","dependency_job_id":null,"html_url":"https://github.com/stm32duino/IIS2DLPC","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2DLPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2DLPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2DLPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FIIS2DLPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stm32duino","download_url":"https://codeload.github.com/stm32duino/IIS2DLPC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239898461,"owners_count":19715212,"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":[],"created_at":"2024-12-31T12:51:04.549Z","updated_at":"2026-03-07T14:30:19.772Z","avatar_url":"https://github.com/stm32duino.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IIS2DLPC\nArduino library to support the IIS2DLPC 3D accelerometer\n\n## API\n\nThis sensor uses I2C or SPI 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\nFor SPI it is then required to create a SPI interface before accessing to the sensors:  \n\n    SPIClass dev_spi(SPI_MOSI, SPI_MISO, SPI_SCK);  \n    dev_spi.begin();\n\nAn instance can be created and enabled when the I2C bus is used following the procedure below:\n\n    IIS2DLPCSensor Accelero(\u0026dev_i2c);\n    Accelero.begin();\n    Accelero.Enable();\n\nAn instance can be created and enabled when the SPI bus is used following the procedure below:\n\n    IIS2DLPCSensor Accelero(\u0026dev_spi, CS_PIN);\n    Accelero.begin();\n    Accelero.Enable();\n\nThe access to the sensor values is done as explained below:\n\n  Read accelerometer.\n\n    int32_t accelerometer[3];\n    Accelero.GetAxes(accelerometer);\n\n## Documentation\n\nYou can find the source files at\nhttps://github.com/stm32duino/IIS2DLPC\n\nThe IIS2DLPC datasheet is available at\nhttps://www.st.com/en/mems-and-sensors/iis2dlpc.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstm32duino%2Fiis2dlpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstm32duino%2Fiis2dlpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstm32duino%2Fiis2dlpc/lists"}