{"id":15142044,"url":"https://github.com/todbot/touchytouch","last_synced_at":"2025-08-02T20:34:53.693Z","repository":{"id":220895911,"uuid":"752874118","full_name":"todbot/TouchyTouch","owner":"todbot","description":"Capacitive sense (capsense) touch Arduino library that mimics how CircuitPython touchio work","archived":false,"fork":false,"pushed_at":"2025-04-05T01:09:28.000Z","size":12,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-28T22:44:45.065Z","etag":null,"topics":["arduino","capacitive","capsense","circuitpython","rp2040","sense","touch","touchio"],"latest_commit_sha":null,"homepage":"","language":"C++","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/todbot.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}},"created_at":"2024-02-05T02:18:08.000Z","updated_at":"2025-06-18T14:23:15.000Z","dependencies_parsed_at":"2024-02-05T03:20:20.503Z","dependency_job_id":"b9018c1a-456b-4cf8-9bb2-4bba7d995d2d","html_url":"https://github.com/todbot/TouchyTouch","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"60b22d5b3ffb4754acff7b85de23c883c6ae9584"},"previous_names":["todbot/touchytouch"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/todbot/TouchyTouch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FTouchyTouch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FTouchyTouch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FTouchyTouch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FTouchyTouch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/todbot","download_url":"https://codeload.github.com/todbot/TouchyTouch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FTouchyTouch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268448362,"owners_count":24252019,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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","capacitive","capsense","circuitpython","rp2040","sense","touch","touchio"],"created_at":"2024-09-26T09:22:03.631Z","updated_at":"2025-08-02T20:34:53.660Z","avatar_url":"https://github.com/todbot.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TouchyTouch\n\nCapacitive sense touch Arduino library that mimics how CircuitPython `touchio` works.\n\nThis library emulates how the CircuitPython touchio library implements capacitive touch sensing.\nIt also includes basic button debouncing.\n\nIt is based on the CircuitPython \"touchio\" code at: https://github.com/adafruit/circuitpython/blob/main/shared-module/touchio/TouchIn.c\nThe `touchio` code is not platform-specific, but does require a 1M pull-down resistor.\n\nThus the `TouchyTouch` Arduino library is also not platform-specific and also requires a pull-down resistor.\n\n### How it works:\n\nFrom the `touchio` C code:\n```\n// This is a capacitive touch sensing routine using a single digital\n// pin.  The pin should be connected to the sensing pad, and to ground\n// via a 1Mohm or thereabout drain resistor.  When a reading is taken,\n// the pin's capacitance is charged by setting it to a digital output\n// 'high' for a few microseconds, and then it is changed to a high\n// impedance input.  We measure how long it takes to discharge through\n// the resistor (around 50us), using a busy-waiting loop, and average\n// over N_SAMPLES cycles to reduce the effects of noise.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodbot%2Ftouchytouch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftodbot%2Ftouchytouch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodbot%2Ftouchytouch/lists"}