{"id":19012627,"url":"https://github.com/naguissa/utimerbrokerlib","last_synced_at":"2025-04-22T23:41:38.211Z","repository":{"id":242376203,"uuid":"809394240","full_name":"Naguissa/uTimerBrokerLib","owner":"Naguissa","description":"Broker to manage multiple interrupts with uTimerLib","archived":false,"fork":false,"pushed_at":"2024-06-21T06:32:40.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T15:00:07.293Z","etag":null,"topics":["arduino","arduino-library","device-timer","interrupts","miliseconds","naguissa","timer","timers"],"latest_commit_sha":null,"homepage":"https://www.foroelectro.net/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naguissa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Naguissa","custom":"https://www.paypal.me/foroelectro"}},"created_at":"2024-06-02T15:11:40.000Z","updated_at":"2024-06-24T10:02:09.000Z","dependencies_parsed_at":"2024-06-02T17:08:54.969Z","dependency_job_id":"f3122424-26c6-4516-b0f7-0233e0c41afd","html_url":"https://github.com/Naguissa/uTimerBrokerLib","commit_stats":null,"previous_names":["naguissa/utimerbrokerlib"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuTimerBrokerLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuTimerBrokerLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuTimerBrokerLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuTimerBrokerLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naguissa","download_url":"https://codeload.github.com/Naguissa/uTimerBrokerLib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343736,"owners_count":21415035,"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","arduino-library","device-timer","interrupts","miliseconds","naguissa","timer","timers"],"created_at":"2024-11-08T19:18:55.356Z","updated_at":"2025-04-22T23:41:38.194Z","avatar_url":"https://github.com/Naguissa.png","language":"C++","funding_links":["https://github.com/sponsors/Naguissa","https://www.paypal.me/foroelectro","https://paypal.me/foroelectro"],"categories":[],"sub_categories":[],"readme":"# Arduino IDE Timer broker for uTimerLib - uTimerBrokerLib\n\n\n## What is this repository for?\n\nBroker library to manage multiple interrupts with uTimerLib.\n\nIt allows to attach multiple interrupts to uTimerLib, but at the cost of reducing resolution to miliseconds instead nanoseconds.\n\n## Important: Dependencies\n\nThis library requires uTimerLib libary; it's available on IDE Library Manager and also here:\n\nhttps://github.com/Naguissa/uTimerLib\n\nhttps://github.com/Naguissa/uTimerLib/releases\n\n\n## Usage ##\n\n1st we get a class instance:\n\n**uTimerBrokerLib TimerBrokerLib = uTimerBrokerLib::instance();**\n\n\nYou have these methods:\n - **uTimerBrokerLib.add(callback_function, miliseconds);** : callback_function will be called each miliseconds. Adds it on 1st free slot.\n - **uTimerBrokerLib.set(callback_function, slot, miliseconds);** : callback_function will be called each miliseconds. Adds it on indicated slot. If any exists will be overwritten.\n - **uTimerBrokerLib.clear(slot);** : Clears given slot.\n - **uTimerBrokerLib.clear(callback_function);** : Search for callback function and clears that slot if found.\n\n\n## How do I get set up?\n\nYou can get it from Arduino libraries directly, searching by uTimerBrokerLib.\n\nFor manual installation:\n\n * Get the ZIP from releases link: https://github.com/Naguissa/uTimerBrokerLib/releases\n * Rename to uTimerBrokerLib.zip\n * Install library on Arduino\n\n\n## Documentation and extras\n\nYou can find all documentation and extras in this repository: https://github.com/Naguissa/uTimerBrokerLib_doc_and_extras\n\nYou can read documentation online here: https://naguissa.github.io/uTimerBrokerLib_doc_and_extras/\n\n\n\n## Examples\n\nIncluded on example folder, available on Arduino IDE.\n\n\n## Who do I talk to?\n\n * [Naguissa](https://github.com/Naguissa)\n * https://www.foroelectro.net\n * https://www.naguissa.com\n\n\n## Contribute\n\nAny code contribution, report or comment are always welcome. Don't hesitate to use GitHub for that.\n\n\n * You can sponsor this project using GitHub's Sponsor button: https://github.com/Naguissa/uTimerBrokerLib\n * You can make a donation via PayPal: https://paypal.me/foroelectro\n\n\nThanks for your support.\n\n\nContributors hall of fame: https://www.foroelectro.net/hall-of-fame-f32/contributors-contribuyentes-t271.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaguissa%2Futimerbrokerlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaguissa%2Futimerbrokerlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaguissa%2Futimerbrokerlib/lists"}