[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU172-W8D850A8DEA8C0D87FBF45ACCC0@phx.gbl>
Date: Fri, 27 Dec 2013 21:08:34 -0500
From: Joe Xue <lgxue@...mail.com>
To: Pavel Machek <pavel@....cz>
CC: "cooloney@...il.com" <cooloney@...il.com>,
"rpurdie@...ys.net" <rpurdie@...ys.net>,
"rob@...dley.net" <rob@...dley.net>,
"milo.kim@...com" <milo.kim@...com>,
"linux-leds@...r.kernel.org" <linux-leds@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>
Subject: RE: [PATCH] Add the LED burst trigger
Hi Pavel,
Good idea.
I have finished but I'll change it to this way soon and test it in next some days.
What the idea about the character to indicate stop?
I mean this patten maybe indicate just once maybe indicate repeatedly until the next patten.
What about "/"?
If there is a "/" at end then stop it else repeat it?
Thanks.
Joe
----------------------------------------
> Date: Fri, 27 Dec 2013 10:57:05 +0100
> From: pavel@....cz
> To: lgxue@...mail.com
> CC: cooloney@...il.com; rpurdie@...ys.net; rob@...dley.net; milo.kim@...com; linux-leds@...r.kernel.org; linux-kernel@...r.kernel.org; linux-doc@...r.kernel.org
> Subject: Re: [PATCH] Add the LED burst trigger
>
> Hi!
>
>> I'm writing the Morse code trigger.
>> what about this
>>
>> echo "-.-. *"> patten
>> - a long on then a off
>> . a short on then a off
>> space a long off
>> * mean repeat the patten
>> s mean indicate the patten just one time then stop
>
> Actually, that's a bit more complex that it needs to be.
>
> Make it
>
> "#" -- LED on
>
> " " -- LED off.
>
> To do morse -.-., you use "### # ### # " pattern. But this is more
> flexible, you can for example do "led mostly on, two blinks to off per
> cycle" using
>
> "########### ## ###########"
>
> pattern.
>
> Hmm?
> Pavel
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/ --
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists