{"id":15581902,"url":"https://github.com/koenvervloesem/digispark_blink_platformio","last_synced_at":"2026-01-20T20:33:14.409Z","repository":{"id":116641078,"uuid":"377140872","full_name":"koenvervloesem/digispark_blink_platformio","owner":"koenvervloesem","description":"PlatformIO example project to build the canonical blink code for the Digispark USB development board with an Atmel AVR ATtiny85 microcontroller","archived":false,"fork":false,"pushed_at":"2021-09-10T10:28:00.000Z","size":4,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T07:51:46.379Z","etag":null,"topics":["atmel","atmel-avr","atmel-avr-microcontroller","attiny85","avr","avr-programming","blink","digispark","digispark-usb","platformio"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/koenvervloesem.png","metadata":{"files":{"readme":"README.rst","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":"2021-06-15T11:36:32.000Z","updated_at":"2023-06-29T17:20:04.000Z","dependencies_parsed_at":"2024-04-02T00:15:12.356Z","dependency_job_id":null,"html_url":"https://github.com/koenvervloesem/digispark_blink_platformio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/koenvervloesem/digispark_blink_platformio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koenvervloesem%2Fdigispark_blink_platformio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koenvervloesem%2Fdigispark_blink_platformio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koenvervloesem%2Fdigispark_blink_platformio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koenvervloesem%2Fdigispark_blink_platformio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koenvervloesem","download_url":"https://codeload.github.com/koenvervloesem/digispark_blink_platformio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koenvervloesem%2Fdigispark_blink_platformio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["atmel","atmel-avr","atmel-avr-microcontroller","attiny85","avr","avr-programming","blink","digispark","digispark-usb","platformio"],"created_at":"2024-10-02T20:00:03.826Z","updated_at":"2026-01-20T20:33:14.394Z","avatar_url":"https://github.com/koenvervloesem.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"######################################\nDigispark Blink example for PlatformIO\n######################################\n\n.. image:: https://github.com/koenvervloesem/digispark_blink_platformio/workflows/Build/badge.svg\n   :target: https://github.com/koenvervloesem/digispark_blink_platformio/actions\n   :alt: Continuous integration\n\n.. image:: https://img.shields.io/github/license/koenvervloesem/digispark_blink_platformio.svg\n   :target: https://github.com/koenvervloesem/digispark_blink_platformio/blob/main/LICENSE\n   :alt: License\n\nThis is an example project for `PlatformIO \u003chttps://platformio.org/\u003e`_ to build the canonical blink code for the `Digispark USB development board \u003chttp://digistump.com/products/1\u003e`_ with an Atmel AVR ATtiny85 microcontroller.\n\n.. note::\n\n  This doesn't use the Arduino framework, but directly uses the native AVR registers.\n\nYou can use this project as a template to build your own AVR code for the Digispark with PlatformIO.\n\n************\nRequirements\n************\n\nYou need PlatformIO and the `Atmel AVR platform \u003chttps://docs.platformio.org/en/latest/platforms/atmelavr.html\u003e`_ in PlatformIO. You can install both with:\n\n.. code-block:: shell\n\n  pip3 install platformio\n  pio platform install atmelavr\n\nThe Digispark runs the `Micronucleus \u003chttps://github.com/micronucleus/micronucleus\u003e`_ bootloader. If you've bought it recently, the bootloader is a recent version that isn't supported by PlatformIO's older ``micronucleus`` command. Therefore, you need to build the newer version of the command. On Ubuntu or Debian this goes like this:\n\n.. code-block:: shell\n\n  git clone https://github.com/micronucleus/micronucleus.git\n  cd micronucleus/commandline\n  sudo apt install libusb-dev\n  make\n  sudo make install\n\nThe `platformio.ini \u003chttps://github.com/koenvervloesem/digispark_blink_platformio/blob/main/platformio.ini\u003e`_ file in this example project defines a custom command to refer to the ``micronucleus`` command you've built.\n\n*****\nUsage\n*****\n\nBuild the code with:\n\n.. code-block:: shell\n\n  pio run\n\nBuild and upload the code to the Digispark with:\n\n.. code-block:: shell\n\n  pio run -t upload\n\nPlug in the device into a USB port of your computer when asked.\n\nIf you want to use this project as a template for your own projects, have a look at the `GitHub Action \u003chttps://github.com/koenvervloesem/digispark_blink_platformio/blob/main/.github/workflows/build.yml\u003e`_ file. It automatically builds the code on each push and pull request and checks for errors and warnings. There's also a `Makefile \u003chttps://github.com/koenvervloesem/digispark_blink_platformio/blob/main/Makefile\u003e`_ to make checking and building code easier.\n\n*******\nLicense\n*******\n\nThis project is provided by `Koen Vervloesem \u003chttp://koen.vervloesem.eu\u003e`_ as open source software with the MIT license. See the `LICENSE file \u003cLICENSE\u003e`_ for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoenvervloesem%2Fdigispark_blink_platformio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoenvervloesem%2Fdigispark_blink_platformio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoenvervloesem%2Fdigispark_blink_platformio/lists"}