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-25 10:01

Re: Another LED pattern thread
 
Quote:

Originally Posted by blue_led (Post 545457)
yellow - blue

Code:

rgB;9d8004ff05ffe104a10171080000;9d80e08004ff05ffe00020000
white - blue

Code:

rgB;9d80e00404ff05ffe100a10171080000;9d80e08004ff05ffa082e0020000

Thanks

Just need to get these new codes added to
http://wiki.maemo.org/LED_patterns#C...-Made_Patterns

blue_led 2010-02-25 18:30

Re: Another LED pattern thread
 
@f2thak

i like this
Code:

rgb;9d80401012b013b00000;9d800000
the eye can't see fading from 100% to 50% so I choosed 16% with 70% swing

because police patterns are so populars, here you have almost all ( ? ) "Police" patterns.

pattern
Code:

;9d80e00404ff05ffe100a10171080000;9d80e08004ff05ffa082e0020000
having in front
RgB > white - pink
rGB > white - cyan
RGb > white - yellow
rGb > white -green
Rgb > white - red
rgB > white - blue
rB > blue - pink
gB > blue -cyan
rG > green - yellow ( almost orange )
bG > green - cyan
bR > red - pink
gR > red - yellow

pattern
Code:

;9d8004ff05ffe104a10171080000;9d80e08004ff05ffe00020000
having in front
rG > red - green
rB > blue - red
gB > blue - green
rgB > blue - yellow
rbG > green - pink
gbR > red -cyan

pabloniss 2010-02-25 21:18

Re: Another LED pattern thread
 
Why you dont use a LedPattern application in repository?

Ronaldo 2010-02-25 21:26

Re: Another LED pattern thread
 
didnt know there was a pp gonna give it a try. cheers

F2thaK 2010-02-26 02:15

Re: Another LED pattern thread
 
Quote:

Originally Posted by blue_led (Post 546277)
@f2thak

i like this
Code:

rgb;9d80401012b013b00000;9d800000
the eye can't see fading from 100% to 50% so I choosed 16% with 70% swing

cool, but not quite what im after... needs to stay faded for 5 seconds, then brightest for 1 second...... :D cheers


EDIT: ive fixed it with the app below....


Quote:

Originally Posted by pabloniss (Post 546524)
Why you dont use a LedPattern application in repository?

wow, thats new

"LED Pattern Editor"

codeMonkey 2010-02-26 08:52

Re: Another LED pattern thread
 
Looks like ph5 has been busy :)

pH5 2010-02-26 16:55

Re: Another LED pattern thread
 
Quote:

Originally Posted by codeMonkey (Post 547148)
Looks like ph5 has been busy :)

Work in progress, people. Don't blame me if it eats your mce.ini - but suggestions on how to design a non-painful pattern editing UI are very much welcome.

blue_led 2010-02-26 17:38

Re: Another LED pattern thread
 
nice app . i like maemo style.

my sugestions
make another icon
drop stupid 512 long "combo box" . put a dial pad for input step numbers. for time we can deal (?) with 62 length scale :mad:
add labels ( numbers ) for commands and count them no more 14 ( 15) ( pattern have at least 9d80 and 0000 is optional only when loop pattern from beginning ) . you need them when looping . make font for figures larger instead of time & step
when you add second engine if one led ( color ) is chosen in engine 1 remove it as option in engine 2.
don't ignore one step trigger&wait
e104 triger 2 + wait from 2
e082 trigger 1 + wait from 1

when a trigger is detected in the pattern split graphic in 2 scales, one below, and add an arrow pointing to triggered engine

blue_led 2010-02-28 21:41

Re: Another LED pattern thread
 
Using second engine as a timer

when a fast blinking led is wanted is easyer to aceive result in folowing mode:

first engine
9d80 refresh
40ff set max bright . can adjust here brightnes
e104 trig & wait engine 2. at this point engine stop and wait response from 2
4000 set 0 bright
e104 trig & wait
0000 go to begining

second engine
9d80
0550 this step add a 0x50 ( 80 ) steps of 1 ms pause . adjust here blink rate
e082 trig & wait from 1
0000 go to begining

this is a simetric light - dark pattern and with only 2 parameters we can adjust behavior of led ( color )
i use on phone call because it is annoying and dont want to miss at a glance

pattern

Code:

r;9d8040ffe1044000e1040000;9d800550e0820000

rambo 2010-02-28 21:49

Re: Another LED pattern thread
 
Quote:

Originally Posted by pH5 (Post 547822)
Work in progress, people. Don't blame me if it eats your mce.ini

I have just made a tool for clean (for certain values of clean) way to add/remove patterns to mce.ini (I heard your program ships with something slightly similar but haven't had the time to check it out)

Please check out Clean way to add/remove LED patterns to mce.ini -thread

And the tool itself: mce_ledpattern.py

EDIT: Just noticed that it was you commenting on the thread (yes, tired...)


All times are GMT. The time now is 12:16.

vBulletin® Version 3.8.8