{"id":18759003,"url":"https://github.com/tattdcodemonkey/bno055","last_synced_at":"2025-04-13T02:25:53.397Z","repository":{"id":57480101,"uuid":"48673603","full_name":"TattdCodeMonkey/bno055","owner":"TattdCodeMonkey","description":"Elixir Application to control 1 or more adafruit BNO055 sensors","archived":false,"fork":false,"pushed_at":"2020-09-01T17:04:54.000Z","size":32443,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T21:47:46.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/TattdCodeMonkey.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-12-28T04:20:29.000Z","updated_at":"2022-11-04T08:02:47.000Z","dependencies_parsed_at":"2022-09-26T17:41:36.435Z","dependency_job_id":null,"html_url":"https://github.com/TattdCodeMonkey/bno055","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/TattdCodeMonkey%2Fbno055","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TattdCodeMonkey%2Fbno055/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TattdCodeMonkey%2Fbno055/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TattdCodeMonkey%2Fbno055/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TattdCodeMonkey","download_url":"https://codeload.github.com/TattdCodeMonkey/bno055/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248656012,"owners_count":21140615,"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-11-07T17:48:45.896Z","updated_at":"2025-04-13T02:25:53.375Z","avatar_url":"https://github.com/TattdCodeMonkey.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BNO-055\n\nThis module is used to create commands for interacting with a Bosch BNO055 sensor. This module is intended to be an unopinionated collection of functions to created data for communicating with the sensor, but does not handle actual communication.\n\nSet functions return tuple with address and data to be written to that address\n```elixir\niex\u003e BNO055.set_mode(:config)\n{0x3D, \u003c\u003c0x00\u003e\u003e}\n```\n\nGet functions return tuple with address and number of bytes to read\n```elixir\niex\u003e BNO055.get_chip_address\n{0x00, 1}\n```\n\n`write` functions take the get or set results and return a binary for writing to the \ndevice based on the protocol type\n\n```elixir\niex\u003e BNO055.set_mode(:config) |\u003e BNO055.i2c_write_data\n\u003c\u003c0x3D, 0x00\u003e\u003e\n\niex\u003e BNO055.set_mode(:config) |\u003e BNO055.serial_write_data\n\u003c\u003c0xAA, 0x00, 0x3D, 0x01, 0x00\u003e\u003e\n```\n\nDecode functions take the binary data returned from sensor and formats the result.\n\n## Installation\nAvailable in Hex, the package can be installed as:\n\n  1. Add bno055 to your list of dependencies in `mix.exs`:\n\n        def deps do\n          [{:bno055, \"~\u003e 1.0\"}]\n        end\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattdcodemonkey%2Fbno055","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattdcodemonkey%2Fbno055","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattdcodemonkey%2Fbno055/lists"}