{"id":21320715,"url":"https://github.com/davetcc/leddisplay","last_synced_at":"2025-07-12T04:33:15.362Z","repository":{"id":31329382,"uuid":"34891929","full_name":"davetcc/leddisplay","owner":"davetcc","description":"Arduino 7 segment display project","archived":false,"fork":false,"pushed_at":"2018-09-23T15:54:28.000Z","size":22,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T14:47:36.547Z","etag":null,"topics":["7-segment","arduino","interrupt","library"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davetcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-01T06:15:03.000Z","updated_at":"2024-05-01T14:47:36.548Z","dependencies_parsed_at":"2022-09-04T22:21:22.564Z","dependency_job_id":null,"html_url":"https://github.com/davetcc/leddisplay","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/davetcc%2Fleddisplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davetcc%2Fleddisplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davetcc%2Fleddisplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davetcc%2Fleddisplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davetcc","download_url":"https://codeload.github.com/davetcc/leddisplay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225795373,"owners_count":17525317,"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":["7-segment","arduino","interrupt","library"],"created_at":"2024-11-21T19:53:52.108Z","updated_at":"2024-11-21T19:53:52.710Z","avatar_url":"https://github.com/davetcc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LedDisplay: Display driver for multi-digit 7-segment displays\n\nLEDDisplay is a library that renders information onto multi-digit 7-segment displays. This library requires no additional hardware and uses the [mutliplex method to refresh each digit](https://www.thecoderscorner.com/electronics/microcontrollers/driving-displays/65-arduino-multiple-7-segment-display-tutorial/). Further, the standalone version can use interrupts to multiplex the digits of the display,  meaning that you don't have to constantly call an \"update\" method to do the multiplexing.\n\n## Installation\n\nTake a zip download (clone or download button) from here and install it into your Arduino libraries directory.\n\nLibraries are usually installed into the Arduino directory under libraries. For example on Windows / MacOS it may be: `~/Documents/Arduino/libraries`\n\nWhen you unzip into the libraries directory, enusre the directory is called leddisplay (you'll probably need to remove master from the end).\n\n## Simple use case\n\nInclude the header and create a global display variable as below:\n\n\t#include \u003cLedDisplay.h\u003e\n\n\t// startingPin where the A-G and DP are wired - must be sequential pins.\n\t// commonIsHigh set to true if your common pin is at 5V when on, otherwise false.\n\t// optional noOfDigits sets the number of digits for your display (default 4)\n\n\tLedDisplay display(startingPin, commonIsHigh, optional noOfDigits );\n\nIn setup start the library:\n\n\tvoid setup() {\n\t\t// This line starts the muliplexing of the digits on an interrupt\n\t\t// if you prefer you can update the display manually too (see docs).\n\t\tdisplay.startInterrupt();\n\t}\n\nThen you can draw onto the display, here's a few examples:\n\n\tdisplay.setValueDec(20); // display 20 onto the display\n\tdisplay.setValueFloat(1.234, 3); // display float with 3dp eg (1.234)\n\tdisplay.setValueHex(254); // display the value as Hexadecimal.\n\tdisplay.setValueRaw(1,1); // draw character 1 at position 1.\n\n## More information\n\n[TheCodersCorner library documenation](https://www.thecoderscorner.com/products/arduino-libraries/led-display/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavetcc%2Fleddisplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavetcc%2Fleddisplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavetcc%2Fleddisplay/lists"}