Skip to content

A node library to control the backlight of the official Raspberry Pi 7" touch display

License

Notifications You must be signed in to change notification settings

steven-work-space/rpi-backlight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpi-backlight

A node library to control the backlight of the official Raspberry Pi 7" touch display

Installation

npm install --save rpi-backlight

Usage

var backlight = require('rpi-backlight');

// 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

About

A node library to control the backlight of the official Raspberry Pi 7" touch display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.3%
  • HTML 15.7%