Messages in this thread | | | Date | Thu, 4 Jun 2009 02:05:01 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] gpio sysfs: add a "toggle" value |
| |
On Thu, 4 Jun 2009 04:52:35 -0400 Mike Frysinger <vapier.adi@gmail.com> wrote:
> my next request was for a 1 letter command set and chaining > operations. say you want to toggle a gpio line 4 times, having to go > between kernel and userspace for that seems kind of heavy. > echo TTTT > value
I was wondering whether "t" would be better than "toggle".
If you're going to do that, wouldn't you need a "d"(elay) too? To prevent large variations in interval between different platforms. 1 millisec, perhaps.
0d1dd0d1ddd0d1, too.
This could be fun.
| |