maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Flashing Keyboard lights as patterns (https://talk.maemo.org/showthread.php?t=52239)

TiagoTiago 2010-11-10 10:32

Re: Flashing Keyboard lights as patterns
 
Why does the program just flash the LEDs instead of keeping them lit?

xperto 2010-11-10 10:43

Re: Flashing Keyboard lights as patterns
 
Quote:

Originally Posted by TiagoTiago (Post 868965)
Why does the program just flash the LEDs instead of keeping them lit?

Probably coz its just an initial app..

xperto 2010-11-10 10:44

Re: Flashing Keyboard lights as patterns
 
and an option to adjust the brightness of the leds would be good too :)

TiagoTiago 2010-11-10 10:45

Re: Flashing Keyboard lights as patterns
 
I'm curious about the underlying reason for it initially having been coded to jsut flash instead of keeping alight, technical or otherwise

Larswad 2010-11-10 11:11

Re: Flashing Keyboard lights as patterns
 
Maybe dumb question, but can the intensity be set as well, or is it just an on-off thing for each LED?

TiagoTiago 2010-11-10 11:14

Re: Flashing Keyboard lights as patterns
 
I think its just on/off, but you can do it really fast and control how long it stays off and how long it stays on on each cycle, so you can make it look like it is changing brightness (that is how it works with the status LED if i'm not mistaken)

MohammadAG 2010-11-10 11:48

Re: Flashing Keyboard lights as patterns
 
Brightness can indeed be controlled, my original plan was to have this as a VU meter, but I don't know how to write those.

xperto 2010-11-10 12:30

Re: Flashing Keyboard lights as patterns
 
Quote:

Originally Posted by MohammadAG (Post 869038)
Brightness can indeed be controlled, my original plan was to have this as a VU meter, but I don't know how to write those.

can you add a button to start playing the pattern in the app and a LED brightness controller?

-Thanks

Larswad 2010-11-10 14:04

Re: Flashing Keyboard lights as patterns
 
TiagoTiago: You mean like some sort of pulse width modulation?
MohammadAG: You didn't mean that this could be controlled with PWM like TiagoTiago suggested?

However, if we control the brightness then we can really have some nice effects indeed. For instance, in darkness the keyboard lights up, and after some idle time it gets switched off to save power.

When switching off it could flash quickly and then fade in the same scheme as the text does in the intro to the first Terminator movie, if you know what I mean.
I'm wondering if that default behaviour to "just switch off" can be overridden somehow?

blue_led 2010-11-10 14:22

Re: Flashing Keyboard lights as patterns
 
Quote:

Originally Posted by TiagoTiago (Post 868963)
If i'm not mistaken, there are only 4 LEDs total there, or 4 separated LED banks, distributed horizontally; you can't light individual keys, just groups of keys; its just one row with 4 elements.

edit:i've jsut tried the program and its definitly more than 4, but not much more than that

led driver asic have 9 outputs 5,6 and 7 drive rgb led and the remaining outputs drive keyboard led so those are 6

Quote:

Originally Posted by MohammadAG (Post 869038)
Brightness can indeed be controlled, my original plan was to have this as a VU meter, but I don't know how to write those.

we can reverse engineer led driver. the only unknown part is multiplexor of LP5523 . the rest is like rgb led

Later Edit
if a custom driver we write with more than 2 ( f..g ) engines ( wish to be at least 4 ) we also can assign 3 of them to the the RGB led and the remaining to the keys. if we have a 9 engine driver
we can lightening like a christmas tree the keyboard ( OT santa from finland is very busy and i think anything else than pr1.3 we don't get this year /OT)


All times are GMT. The time now is 01:33.

vBulletin® Version 3.8.8