Reply
Thread Tools
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#21
Ok, a reboot seemed to be need, now it works..only it flashes really rapidly, unlike the slow steady pulse before.
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 273 | Thanked: 113 times | Joined on Feb 2008 @ Germany
#22
Thanks for thanking, codeMonkey Hard to find button, isn't it?
Do you see something I did wrong?

munky261, can you paste the 'Pattern' part from your mce.ini?
__________________
Hi! I'm a Maemo Greeter!

Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
If I can help with anything else, just ask! Please click 'Thanks!' if this post was helpful.

Last edited by Corwin; 2009-12-22 at 15:01.
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#23
munky:

From the original file:
PatternCommunicationCall=30;1;0;0000;0000;40007f00 017f017f050001ff01ff0000

From corwin's third example:
PatternCommunicationCall=30;1;0;40002000200040ff20 0020000000;0000;0000

If you copied the third example directly into your mce.ini then you've changed the flashing pattern. You should have just moved the original pattern from your mce.ini file to the correct channel.

@corwin:
I dunno - I must accidentally click it a lot *points to "Thanks!" count*
 
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#24
I did that, but as I said, it flashes rapidly instead of slowly like the original.
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#25
If you just moved the original string over your from mce.ini file I can't think of any reason why it would change anything else in the speed of the pattern - someone else might know more.
 
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#26
Are you sure that that portion is color only, cause it sounds to me that the "30;1;0" portion has nothing to do with the actual timing if I understand it correctly.
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#27
Originally Posted by munky261 View Post
Are you sure that that portion is color only, cause it sounds to me that the "30;1;0" portion has nothing to do with the actual timing if I understand it correctly.
Yeah, the Priority;ScreenOnVariable;TimeOut are to do with the pattern as a whole.

Originally Posted by codeMonkey View Post
The basic structure is:
PatternName=Priority;ScreenOnVariable;TimeOut;Red channel pattern;Green channel pattern;Blue channel pattern
PatternCommunicationCall=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
The timing is set by the coloured sections.
Breaking the blue channel pattern there down further we have 8 instructions for the blue channel pattern, and one instruction for each of the red and green (to do nothing).
4000 7f00 017f 017f 0500 01ff 01ff 0000

What these instructions do is defined in Corwin's post - repasted here for clarity.
Code:
# 0000 -- Jump to the start of the pattern for the channel
# 40xx -- Set channel brightness
# xxyy -- Increment/decrement
#      xx determines the speed;
#         01-3f -- short step time (granularity 0.49ms)
#         41-7f -- long step time (granularity 15.6ms)
#      yy determines the increment/decrement steps
#         00-7f -- increment steps 00 = 0 steps, 7f = 127 steps
#         80-ff -- decrement steps 80 = 0 steps, ff = 127 steps
#
#         Use 0 steps to create pauses
#         Two consecutive increment/decrement sequences are needed
#         to cover the entire range from 0-255
# c000 -- End pattern execution
# e002 -- Send red trigger
# e004 -- Send green trigger
# e008 -- Send blue trigger
# e080 -- Wait for red trigger
# e100 -- Wait for green trigger
# e200 -- Wait for blue trigger
Instruction 1 (4000) Set the channel brightness to 00
Instruction 2 (7f00) Long step time, 00 increment steps

And etc.

Last edited by codeMonkey; 2009-12-22 at 15:54.
 

The Following 3 Users Say Thank You to codeMonkey For This Useful Post:
blwthompson's Avatar
Posts: 97 | Thanked: 8 times | Joined on Dec 2009
#28
can anyone tell me where to get mceedit for N900 or another way to edit the file please?
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#29
You'll have to ask TrueJournals - it won't work if he hasn't made any updates for the new format.
 
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#30
Thanks codemonkey, that clarified it for me, now it works perfectly!
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 

The Following User Says Thank You to munky261 For This Useful Post:
Reply


 
Forum Jump


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