{"id":15416969,"url":"https://github.com/blueandi/arduinonative","last_synced_at":"2026-01-27T11:32:35.983Z","repository":{"id":243122291,"uuid":"811526081","full_name":"BlueAndi/ArduinoNative","owner":"BlueAndi","description":"Arduino for native enviroment.","archived":false,"fork":false,"pushed_at":"2024-11-08T15:39:16.000Z","size":85,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T08:43:35.799Z","etag":null,"topics":["arduino","native","platformio-library"],"latest_commit_sha":null,"homepage":"","language":"C++","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/BlueAndi.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-06-06T19:10:44.000Z","updated_at":"2024-11-08T15:37:32.000Z","dependencies_parsed_at":"2024-06-06T21:25:09.768Z","dependency_job_id":"9617d0e8-13b8-44f6-87b6-80bb12b38bb8","html_url":"https://github.com/BlueAndi/ArduinoNative","commit_stats":{"total_commits":27,"total_committers":6,"mean_commits":4.5,"dds":0.6666666666666667,"last_synced_commit":"623bc7009c020fad6a9f2a05577d2cebb26e4e97"},"previous_names":["blueandi/arduinonative"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueAndi%2FArduinoNative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueAndi%2FArduinoNative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueAndi%2FArduinoNative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueAndi%2FArduinoNative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlueAndi","download_url":"https://codeload.github.com/BlueAndi/ArduinoNative/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249715499,"owners_count":21315055,"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":["arduino","native","platformio-library"],"created_at":"2024-10-01T17:14:18.791Z","updated_at":"2026-01-27T11:32:35.978Z","avatar_url":"https://github.com/BlueAndi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArduinoNative \u003c!-- omit in toc --\u003e\r\n\r\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://choosealicense.com/licenses/mit/)\r\n[![Repo Status](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\r\n[![Release](https://img.shields.io/github/release/BlueAndi/ArduinoNative.svg)](https://github.com/BlueAndi/ArduinoNative/releases)\r\n\r\nProjects have sometimes the need to run on different platforms. For example a robot software shall run in a simulation on a native environment and on a microcontroller. If the software on the microcontroller is Arduino based, the problem appears in the native environment, because there is no Arduino framework available.\r\n\r\nThis library provides for this use case some Arduino interfaces, but not all yet. If something is missing, feel free to contribute, which make our all lifes easier. :-)\r\n\r\n## Table of content \u003c!-- omit in toc --\u003e\r\n\r\n- [Architecture](#architecture)\r\n  - [The Principle](#the-principle)\r\n  - [Detail](#detail)\r\n- [How to integrate the library?](#how-to-integrate-the-library)\r\n  - [Example](#example)\r\n- [Used Libraries](#used-libraries)\r\n- [Issues, Ideas And Bugs](#issues-ideas-and-bugs)\r\n- [License](#license)\r\n- [Contribution](#contribution)\r\n\r\n## Architecture\r\n\r\n### The Principle\r\n\r\n![Principle](http://www.plantuml.com/plantuml/proxy?cache=no\u0026src=https://raw.githubusercontent.com//BlueAndi/ArduinoNative/master/doc/uml/Principle.plantuml)\r\n\r\n### Detail\r\n\r\n![ArduinoNative](http://www.plantuml.com/plantuml/proxy?cache=no\u0026src=https://raw.githubusercontent.com/BlueAndi/ArduinoNative/master/doc/uml/ArduinoNative.plantuml)\r\n\r\n![DynamicFlow](http://www.plantuml.com/plantuml/proxy?cache=no\u0026src=https://raw.githubusercontent.com/BlueAndi/ArduinoNative/master/doc/uml/DynamicFlow.plantuml)\r\n\r\n## How to integrate the library?\r\n\r\n1. Add it to the _platformio.ini_ in your environment to the _lib\\_deps_ section:\r\n\r\n    ```text\r\n    lib_deps =\r\n        BlueAndi/ArduinoNative @ ~0.2.2\r\n    ```\r\n\r\n2. Add this build flags to your _platformio.ini_ in your environment:\r\n\r\n    ```text\r\n    build_flags =\r\n        -D _USE_MATH_DEFINES\r\n    ```\r\n\r\n3. Call the ```Arduino::setup()``` once and the ```Arduino::loop()``` in a infinite loop in your main entry point function.\r\n\r\n### Example\r\n\r\nSee [minimal example](./examples/example/).\r\n\r\n## Used Libraries\r\n\r\n| Library                                                            | Description                                                      | License    |\r\n| ------------------------------------------------------------------ | ---------------------------------------------------------------- | ---------- |\r\n| - | - | - |\r\n\r\n## Issues, Ideas And Bugs\r\n\r\nIf you have further ideas or you found some bugs, great! Create a [issue](https://github.com/BlueAndi/ArduinoNative/issues) or if you are able and willing to fix it by yourself, clone the repository and create a pull request.\r\n\r\n## License\r\n\r\nThe whole source code is published under the [MIT license](http://choosealicense.com/licenses/mit/).\r\nConsider the different licenses of the used third party libraries too!\r\n\r\n## Contribution\r\n\r\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any\r\nadditional terms or conditions.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueandi%2Farduinonative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblueandi%2Farduinonative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueandi%2Farduinonative/lists"}