{"id":19110809,"url":"https://github.com/h2co3/libavrutil","last_synced_at":"2025-04-30T20:47:21.407Z","repository":{"id":2484124,"uuid":"3457641","full_name":"H2CO3/libavrutil","owner":"H2CO3","description":"Easy to use, lightweight and unified library for performing common microcontroller tasks","archived":false,"fork":false,"pushed_at":"2012-04-05T06:11:52.000Z","size":200,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-19T08:34:11.885Z","etag":null,"topics":["avr","c","embedded","embedded-devices","embedded-systems","microcontroller"],"latest_commit_sha":null,"homepage":"http://h2co3.github.io","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"comcat/miwifi","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/H2CO3.png","metadata":{"files":{"readme":"README","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":"2012-02-16T06:44:55.000Z","updated_at":"2022-03-03T12:34:53.000Z","dependencies_parsed_at":"2022-09-14T08:11:26.767Z","dependency_job_id":null,"html_url":"https://github.com/H2CO3/libavrutil","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H2CO3%2Flibavrutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H2CO3%2Flibavrutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H2CO3%2Flibavrutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H2CO3%2Flibavrutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/H2CO3","download_url":"https://codeload.github.com/H2CO3/libavrutil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251780609,"owners_count":21642805,"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":["avr","c","embedded","embedded-devices","embedded-systems","microcontroller"],"created_at":"2024-11-09T04:26:06.413Z","updated_at":"2025-04-30T20:47:21.374Z","avatar_url":"https://github.com/H2CO3.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"libavrutil is a collection of useful routines for programming AVR devices.\nIts principal aim is to provide an unified and easy-to-use interface\nfor performing basic and more complex common tasks expected from an AVR,\nsuch as digital and analog in-and output, controlling servos, generating\nsound, estabilishing serial communication, etc.\n\nThe library was designed in the hope that it'll be useful on as many of\nthe different AVR types as possible. However, the author does not have access\nto all members of Atmel's microcontroller family, so any contribution\nregarding the unification of the API or adding/fixing features are highly\nappreciated.\n\nDocumentation and sample code can be found in the doc/examples and the doc/html directories.\n\nHow to build and use the library:\n\n1.) You'll need the minimal AVR toolchain: apt-get install gcc-avr binutils-avr avr-libc avrdude\n2.) cd libavrutil \u0026\u0026 ./configure \u003cMCU type\u003e \u003cclock frequency\u003e \u003cupload-baudrate\u003e\n\twhere MCU type is the part name of your AVR, for example, atmega328p,\n\tand clock frequency is the frequency of the system clock, in Hertz,\n\tfor example 3690000ULL\t(preferrably suffixed by 'ULL' to make it explicitly\n\tunsigned long long). Typically, it will be either 1, 3.69, 7.3728, 8, or 16 megahertz.\n3.) make\n4.) make install\n5.) You can now link to the bld/libavrutil.a static lib manually, or you can\n\tuse the `genproj' utility (genproj/genproj.sh) to make a project template\n\twhich has all the neccessary parameters set up correctly. Run the makegen.sh\n\tscript first (only once) in the latter case. It will generate a template makefile, used by genproj.sh to generate projects from now on.\n6.) In your project directory: make, then make install. This will upload your\n\tprogram to the AVR. Note that you may have to manually reset your AVR beforehand.\n\nHappy coding!\n\nH2CO3\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh2co3%2Flibavrutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh2co3%2Flibavrutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh2co3%2Flibavrutil/lists"}