{"id":31931298,"url":"https://github.com/patrickbaus/ad568xr","last_synced_at":"2026-05-17T02:41:10.201Z","repository":{"id":110104211,"uuid":"144777508","full_name":"PatrickBaus/AD568xR","owner":"PatrickBaus","description":"An Arduino compatible library for the AD568xR family of nanoDACs","archived":false,"fork":false,"pushed_at":"2024-03-26T13:50:08.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T04:35:10.889Z","etag":null,"topics":["arduino","arduino-library","dac"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PatrickBaus.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-08-14T22:17:05.000Z","updated_at":"2025-01-14T18:22:30.000Z","dependencies_parsed_at":"2025-10-14T04:33:52.177Z","dependency_job_id":"fbb0f3c0-4e24-4fd1-8844-787c5e481fc8","html_url":"https://github.com/PatrickBaus/AD568xR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PatrickBaus/AD568xR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickBaus%2FAD568xR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickBaus%2FAD568xR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickBaus%2FAD568xR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickBaus%2FAD568xR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PatrickBaus","download_url":"https://codeload.github.com/PatrickBaus/AD568xR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickBaus%2FAD568xR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33125461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"online","status_checked_at":"2026-05-17T02:00:05.366Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arduino","arduino-library","dac"],"created_at":"2025-10-14T04:33:33.049Z","updated_at":"2026-05-17T02:41:10.183Z","avatar_url":"https://github.com/PatrickBaus.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"AD5681R/AD5682R/AD5683R Arduino Library\n===================\n\nThis repository contains an Arduino library for the Analog Devices AD5681R/AD5682R/AD5683R family of nanoDAC+s written in C++. The library uses SPI Transactions and allows to select the SPI controller if there is more than one.\n\nUsage\n-----\n```cpp\n#include \u003cSPI.h\u003e\n#include \"ad568xr.h\"\n\n#define CS_PIN 10\n#define SCK_PIN 14\n\nAD5681R dac(CS_PIN, SPI);    // To use the 14-bit version use AD5682R, or AD5683R for the 16-bit brethren\n\nvoid setup() {\n  pinMode(SCK_PIN,OUTPUT);\n  SPI.setSCK(SCK_PIN);\n  SPI.begin();          // Not needed if you pass `true` to dac.begin()\n  dac.begin();          // Call dac.begin(true) if you want to automatically run SPI.begin()\n  dac.reset();          // Reset the internal DAC registers\n  dac.setGain(true);    // Set the maximum output voltage to 2*Vref = 5 V\n\n  pinMode(13, OUTPUT);\n  digitalWrite(13, HIGH);\n}\n\nvoid loop() {\n  static uint16_t outputValue = 0;\n  dac.setValue(outputValue++);    // Increment the DAC output every 10 ms\n  delay(10);\n}\n```\n\nInstallation\n-----\nCurrently the library does not support the Arduino library manager, so it is highly recommended to copy the full library to a subfolder called\n```\nsrc/\n```\nwithin your Arduino project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickbaus%2Fad568xr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickbaus%2Fad568xr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickbaus%2Fad568xr/lists"}