Modify

Opened 5 years ago

Last modified 22 months ago

#9788 new enhancement

Improve usability of the LED Timer Trigger

Reported by: danitool <dgcbueu@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: LED Timer Trigger Cc:

Description

This patch adds a countdown timer to allow stop blinking after an user defined time.

This will bring users more control over leds. The idea is to have the possibility of using this timer inside our scripts, having an accurate control over the number of blinks. As a result of this patch we can "tell" how many blinks we want (defined by the timer) in contrast of having infinite blinks.

Example:
Let's make a script, in case of success at an event we can output three shorts blinks, in case of error three long blinks, or whatever we want.

This will bring us good indicators.

The patch I made is tested and works ok. If we don't set the countdown or we set it to 0, we'll get the old behavior.

The countdown trigger is activated when we set the delay_on.

I really wish (and probably many users) this feature included in next openwrt development versions.

Attachments (1)

ledtrig-timer.patch (2.1 KB) - added by danitool <dgcbueu@…> 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by danitool <dgcbueu@…>

comment:1 Changed 22 months ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.