more advanced led interface
Up to Idea box
Hi,
I've been pondering about the led interface and I was wondering if the following is realizable without extreme hassle.
What I would like to have is to have the leds at half intensity (or 20% or whatever).
Of course this would require a change in the firmware. The way to realise it could be to have a 1ms or so timer that would control the led.
E.g.:
Suppose we want 10 steps of density where 0 is off and 10 is full density, and we want 20% intensity. In that case the value for the steps would be 2
Then this 1ms timer could leave the led on for two ticks then off for 8 ticks. For N (0 <= N <= 10) it would be N ticks on, 10-N ticks off.
There would be no flicker as a complete cycle would take 10 ms (so 100 Hz) which is not noticable for the human eye).
Questions:
- Is this feasible (is there a timer in tux that can be used for this)
- am I missing something?
FM
No idea about life expectancy.
Anyway, after posting this, I discovered that the requested functionality is already in 1.3 (thanks Remi!)
Anyway, i still like the effect at the end. But there's still little use of these features. To experiment, look at the functions available through the python API, I put some extensive documentation on them. They're not easy to use but you can get some nice effects if you grab how they work.
David
Not sure if that is related, or if this is due to my tux, but I noticed with the v2 driver test program that it is very picky on accepting top button presses. Often I have to try a few times, although the click is very noticable.