Open
Conversation
Click = quick (<0.2s) press (on/off)
Press = brief (0.2-1s) press (change to next mode)
Long press = 1-2s press, light will fast blink (set brightness for this mode, when off switch sets)
Extended = 2+ seconds, light will slow blink (start with this mode)
Click turn on/off, starts with last saved setting. When on, Extended press saves
current mode as startup mode. Long press adjusts brightness
(hold horizontally, twist, click to set).
There are two mode sets - constant (e.g. different
brightness levels), and dynamic (e.g. different flashing patterns). To get into
the opposite set (constant vs. dynamic), Long press from off.
Constant on set (high uses high current mode):
Press to cycle through low, moon, medium, and high modes.
Dynamic set (these always use high current mode):
Press to cycle through dazzle, blink (2 Hz), beacon
(0,1 Hz, blinks red tailcap LED 1 Hz), and variable* modes.
*Variable mode gets bright when the flashlight is held horizontally, dim when vertical.
|
Would you be able to modify my Hexbright4.1 code to enable your variable brightness implementation? Ideally, while the tailswitch was being held down, tilting the Flex up would increase the brightness, and down would decrease it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Click = quick (<0.2s) press (on/off)
Press = brief (0.2-1s) press (change to next mode)
Long press = 1-2s press, light will fast blink (set brightness for this mode, when off switch sets)
Extended = 2+ seconds, light will slow blink (start with this mode)
Click turn on/off, starts with last saved setting. When on, Extended press saves
current mode as startup mode. Long press adjusts brightness
(hold horizontally, twist, click to set).
There are two mode sets - constant (e.g. different
brightness levels), and dynamic (e.g. different flashing patterns). To get into
the opposite set (constant vs. dynamic), Long press from off.
Constant on set (high uses high current mode):
Press to cycle through low, moon, medium, and high modes.
Dynamic set (these always use high current mode):
Press to cycle through dazzle, blink (2 Hz), beacon
(0,1 Hz, blinks red tailcap LED 1 Hz), and variable* modes.
*Variable mode gets bright when the flashlight is held horizontally, dim when vertical.