{"id":22726423,"url":"https://github.com/shymega/bmi270","last_synced_at":"2025-03-29T23:44:15.132Z","repository":{"id":264934498,"uuid":"837647836","full_name":"shymega/bmi270","owner":"shymega","description":"This is an embedded-hal driver for the Bosch BMI260/270 inertial measurement unit.","archived":false,"fork":false,"pushed_at":"2024-08-03T15:41:50.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"bmi260","last_synced_at":"2025-03-27T22:38:52.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/shymega.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-03T15:39:50.000Z","updated_at":"2024-08-03T15:42:55.000Z","dependencies_parsed_at":"2024-11-29T01:19:39.550Z","dependency_job_id":null,"html_url":"https://github.com/shymega/bmi270","commit_stats":null,"previous_names":["shymega/bmi270"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shymega%2Fbmi270","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shymega%2Fbmi270/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shymega%2Fbmi270/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shymega%2Fbmi270/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shymega","download_url":"https://codeload.github.com/shymega/bmi270/tar.gz/refs/heads/bmi260","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258860,"owners_count":20748573,"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-10T16:17:09.527Z","updated_at":"2025-03-29T23:44:15.114Z","avatar_url":"https://github.com/shymega.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust BMI260/270 driver\n\n[![stability-wip](https://img.shields.io/badge/stability-wip-lightgrey.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#work-in-progress)\n\nThis is an [embedded-hal](https://github.com/rust-embedded/embedded-hal) driver for the Bosch BMI260/270 inertial measurement unit.\n\n## Quick start\n\n```rust\n// ...\n\n/// Create a new Bmi270 device using I2C with its alternative address (0x69).\n/// Configure the max data burst to 255 bytes:\n/// - used for the upload of the configuration during initialization.\n/// - This is a limitation from your device or its HAL. \nlet mut bmi = Bmi270::new_i2c(i2c, I2cAddr::Alternative, Burst::Other(255));\n\n/// Get the chip id. Should be 0x24 or 36 in decimal\nlet chip_id = bmi.get_chip_id().unwrap();\n\n/// Initialize the senor.\n/// During this process a configuration of \u003e 8kB is uploaded to the sensor.\nbmi.init(\u0026config::BMI270_CONFIG_FILE).unwrap();\n\n/// Enable power for the accelerometer and the gyroscope.\nlet pwr_ctrl = PwrCtrl { aux_en: false, gyr_en: true, acc_en: true, temp_en: false };\nbmi.set_pwr_ctrl(pwr_ctrl).unwrap();\n\n/// Read the raw data\nlet data = bmi.get_data().unwrap();\n\n// ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshymega%2Fbmi270","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshymega%2Fbmi270","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshymega%2Fbmi270/lists"}