# rpi-backlight **Repository Path**: mirrors_pimterry/rpi-backlight ## Basic Information - **Project Name**: rpi-backlight - **Description**: A node library to control the backlight of the official Raspberry Pi 7" touch display - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rpi-backlight A node library to control the backlight of the [official Raspberry Pi 7" touch display](https://www.raspberrypi.org/products/raspberry-pi-touch-display/) ## Installation ```bash npm install --save rpi-backlight ``` ## Usage ```javascript var backlight = require('rpi-backlight'); // Check if the device supports backlight var isSupported = backlight.isSupported(); // All methods return promises. backlight.powerOn(); backlight.powerOff(); backlight.isPoweredOn(); backlight.getBrightness(); backlight.setBrightness(value); // The screen goes Off at <= 9 brightness value backlight.getMaxBrightness(); ``` ## Coming soon - [Brightness control](https://github.com/pimterry/rpi-backlight/issues/3) - [Power status querying](https://github.com/pimterry/rpi-backlight/issues/1) - [Idiot-proofing](https://github.com/pimterry/rpi-backlight/issues/2) - ...[your feature here](https://github.com/pimterry/rpi-backlight/issues/new)?