Skip to content

emericklaw/Bruce-Flashlight-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

🔦 Flashlight

Simple multi-colour flashlight.

Features

  • Multi-color flashlight with 11 different colors including white, red, orange, yellow, green, cyan, blue, indigo, violet, and magenta
  • Toggle on/off functionality with standby screen
  • Color cycling through Previous/Next buttons
  • Responsive design that adapts to different display sizes

Controls

  • Select Button: Toggle flashlight on/off
  • Previous Button:
    • When light is off: Turn on with current color
    • When light is on: Cycle to previous color
  • Next Button:
    • When light is off: Turn on with current color
    • When light is on: Cycle to next color
  • Exit/ESC: Close the application

Usage

  1. Run the script on your Bruce device
  2. The standby screen will display with instructions
  3. Press Select to turn the flashlight on/off
  4. Use Next/Previous buttons to change colors while the light is on
  5. Press Exit to close the application

Installation

Place the Flashlight.js file in your Bruce device's /scripts directory and run it through the JS Interpreter menu.

To Do

  • When support for screen brightness and LED control is added to Bruce it will also be able to control those

About

Simple multi-colour flashlight.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors