Messages in this thread | | | Date | Thu, 26 Dec 2013 12:18:37 +0100 | Subject | Re: [PATCH] Add the LED burst trigger | From | Geert Uytterhoeven <> |
| |
On Tue, Dec 24, 2013 at 3:30 PM, <lgxue@hotmail.com> wrote: > +Three properties are exported. They are freq, times and delay_off. > + > + freq - the blink frequency, default value is 3 means 3HZ
Please write "3 Hz". In the kernel "HZ" means the number of jiffies per second, and "3 HZ" thus represents a 3-second period.
> + times - burst blink times in one cycle, no default value > + delay_off - off time between two burst blinks, default value is 500 ms > + > +2. Case studies > + > + Example 1 > + > + echo burst > trigger > + echo 2 > times > + > + The behaviour is like below: > + > + on(1/6s)off(1/6s)on(1/6s)off(1/6m) > + ...off 500ms... > + on(1/6s)off(1/6s)on(1/3s)off(1/6m)
on(1/6s)off(1/6s)on(1/6s)off(1/6s)
> + ...off 500ms
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |