{"id":16615935,"url":"https://github.com/pimterry/rpi-backlight","last_synced_at":"2025-10-06T16:31:45.863Z","repository":{"id":19248500,"uuid":"86188503","full_name":"pimterry/rpi-backlight","owner":"pimterry","description":"A node library to control the backlight of the official Raspberry Pi 7\" touch display ","archived":false,"fork":false,"pushed_at":"2022-03-17T11:42:07.000Z","size":14,"stargazers_count":8,"open_issues_count":4,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-18T04:24:48.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pimterry.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}},"created_at":"2017-03-25T21:05:23.000Z","updated_at":"2023-02-02T22:32:06.000Z","dependencies_parsed_at":"2022-08-07T09:01:14.481Z","dependency_job_id":null,"html_url":"https://github.com/pimterry/rpi-backlight","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimterry%2Frpi-backlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimterry%2Frpi-backlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimterry%2Frpi-backlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimterry%2Frpi-backlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimterry","download_url":"https://codeload.github.com/pimterry/rpi-backlight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235534365,"owners_count":19005470,"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":[],"created_at":"2024-10-12T02:11:18.485Z","updated_at":"2025-10-06T16:31:45.517Z","avatar_url":"https://github.com/pimterry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rpi-backlight\nA node library to control the backlight of the [official Raspberry Pi 7\" touch display](https://www.raspberrypi.org/products/raspberry-pi-touch-display/)\n\n## Installation\n\n```bash\nnpm install --save rpi-backlight\n```\n\n## Usage\n\n```javascript\nvar backlight = require('rpi-backlight');\n\n// Check if the device supports backlight\nvar isSupported = backlight.isSupported();\n\n// All methods return promises.\nbacklight.powerOn();\nbacklight.powerOff();\nbacklight.isPoweredOn();\nbacklight.getBrightness();\nbacklight.setBrightness(value); // The screen goes Off at \u003c= 9 brightness value\nbacklight.getMaxBrightness();\n```\n\n## Coming soon\n\n- [Brightness control](https://github.com/pimterry/rpi-backlight/issues/3)\n- [Power status querying](https://github.com/pimterry/rpi-backlight/issues/1)\n- [Idiot-proofing](https://github.com/pimterry/rpi-backlight/issues/2)\n- ...[your feature here](https://github.com/pimterry/rpi-backlight/issues/new)?","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimterry%2Frpi-backlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimterry%2Frpi-backlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimterry%2Frpi-backlight/lists"}