maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Another LED pattern thread (https://talk.maemo.org/showthread.php?t=42201)

mackan1 2010-02-24 06:06

Re: Another LED pattern thread
 
can anyone tell me where i can download midnight commander on to my n900. cant seem to find it


Edit: Found it. did not notice it was called MC

mackan1 2010-02-24 06:36

Re: Another LED pattern thread
 
OK got it saved now

but i am trying to change my SMS txt LED partton

Code:

changed it from
PatternCommunicationSMS=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
to
PatternCommunicationEmail=30;1;0;rB;9d8004ff05ffe004e1000000;9d80e08004ff05ffe0020000

but does not seem to work for me tho.


Edit: Now working, after a hard reboot :)

mackan1 2010-02-24 07:45

Re: Another LED pattern thread
 
now that i have
Code:

PatternCommunicationEmail=30;1;0;rB;9d8004ff05ffe004e1000000;9d80e08004ff05ffe0020000
working

is there away to get it to stop for say 5 secs then start agen, (say blue-red-blue-red-blue-red-5sec nothing-blue-red-blue-red-blue-red-5sec nothing-and so on)??

thanks

codeMonkey 2010-02-24 10:56

Re: Another LED pattern thread
 
Yes. You'll need to:
1. Add a pause after the e100 in the engine 1 pattern.
2. Double the 04ff05ff sections (including the engine triggers) in both engine patterns, because you want it to flash twice before pausing.

mackan1 2010-02-24 11:07

Re: Another LED pattern thread
 
Quote:

Originally Posted by codeMonkey (Post 544048)
Yes. You'll need to:
1. Add a pause after the e100 in the engine 1 pattern.
2. Double the 04ff05ff sections (including the engine triggers) in both engine patterns, because you want it to flash twice before pausing.


thanks for the update.
but i am still lost. i used the link that give some good info but i still dont understand it. like pause.
http://wiki.maemo.org/LED_patterns#C...-Made_Patterns
confused.me

codeMonkey 2010-02-24 11:14

Re: Another LED pattern thread
 
Code:

PatternCommunicationEmail=30;1;0;rB;9d8004ff05ffe004e10004ff05ffe004e10071080000;9d80e08004ff05ffe002e08004ff05ffe0020000
I haven't tested this - let me know if it doesn't work.

mackan1 2010-02-24 11:32

Re: Another LED pattern thread
 
Quote:

Originally Posted by codeMonkey (Post 544075)
Code:

PatternCommunicationEmail=30;1;0;rB;9d8004ff05ffe004e10004ff05ffe004e10071080000;9d80e08004ff05ffe002e08004ff05ffe0020000
I haven't tested this - let me know if it doesn't work.

thanks

it much better just the blue is not as blue as it should be.

codeMonkey 2010-02-24 11:41

Re: Another LED pattern thread
 
It seems to be the right level of brightness on mine if that's what you mean.

mackan1 2010-02-24 12:14

Re: Another LED pattern thread
 
Quote:

Originally Posted by codeMonkey (Post 544148)
It seems to be the right level of brightness on mine if that's what you mean.

i missed out a 0.
All works now

u able to tell me how to add a longer pause in this.
also if you have the time to make it do 3 lost of flashing befor it pauses?


would this make it flash 3 times befor the pause? (checking to see if i can understand it)
Code:

PatternCommunicationEmail=30;1;0;rB;9d8004ff05ffe004e10004ff05ffe004e10004ff05ffe004e10071080000;9d80e08004ff05ffe002e08004ff05ffe0020000
or would it be
Code:

PatternCommunicationEmail=30;1;0;rB;9d8004ff05ffe004e10004ff05ffe004e10004ff05ffe004e10071080000;9d80e08004ff05ffe002e08004ff05ffe002e08004ff05ffe0020000

pH5 2010-02-24 13:01

Re: Another LED pattern thread
 
Quote:

Originally Posted by blue_led (Post 543154)
as you know command format is hexadecimal number xxyy where
xx is timer value and yy is steps of brightness

a little discussion on xx [...]

Nice description. I'm a bit confused by the 0x01ff command used in the power down pattern to set full brightness. I'd expect that to be 0x40ff instead - do you happen to know what it is exactly that 0x01ff does differently?

Quote:

Originally Posted by blue_led (Post 543154)
a strange behavior i found. pattern like rg;9d804000307f317f0000;9d80000 result orange light but pattern rgB;9d804000307f317f0000;9d80000 will result true YELLOW color . strange because engine2 have no pattern.

That's because MCE (or rather the libled.so plugin) fiddles with the /sys/class/leds/lp5523:{r,g,b}/led_current values depending on the activated channels. I guess with rgB (or rgb), the red led current is different from when you set rg only.


All times are GMT. The time now is 15:51.

vBulletin® Version 3.8.8