<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2.178.134.227</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2.178.134.227"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/2.178.134.227"/>
	<updated>2026-04-22T01:41:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=LED_Pattern_Editor&amp;diff=14045</id>
		<title>LED Pattern Editor</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=LED_Pattern_Editor&amp;diff=14045"/>
		<updated>2012-05-23T23:05:48Z</updated>

		<summary type="html">&lt;p&gt;2.178.134.227: /* Restoring original patterns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A control panel applet to edit notification light blinking patterns. &lt;br /&gt;
&lt;br /&gt;
The [[Nokia N900|N900]] has two configurable LED pattern engines.&lt;br /&gt;
&lt;br /&gt;
Each engine can be flexibly programmed with up to 16 commands to vary the brightness of the LEDs it is connected to.&lt;br /&gt;
&lt;br /&gt;
Either engine can be connected to one or more of the three LEDs (Red, Green, Blue) that make up the notification light.&lt;br /&gt;
&lt;br /&gt;
Details can be found on the [[LED patterns]] page.&lt;br /&gt;
&lt;br /&gt;
== Opening ==&lt;br /&gt;
To open the LED Pattern Editor, select &#039;&#039;Settings&#039;&#039; and &#039;&#039;LED Patterns&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Viewing patterns ===&lt;br /&gt;
The &#039;&#039;LED Patterns&#039;&#039; dialog shows the list of defined patterns with a graphical representation of the LED brightness over time. Each vertical line corresponds to one second.&lt;br /&gt;
&lt;br /&gt;
=== Editing patterns ===&lt;br /&gt;
Clicking on a pattern button opens the &#039;&#039;LED pattern editor&#039;&#039; dialog. Below the graphical pattern view, there is a list of commands that will be interpreted by the currently selected engine. Engine 1 or 2 can be selected by the toggle button to the right, below the color chooser buttons which assign the LEDs to drive to each of the engines.&lt;br /&gt;
* To edit a command in the currently selected engine&#039;s program, tap the command button in the list. Change the command&#039;s parameters in the command edit dialog and observe the changes in the graphical pattern view. Select &#039;&#039;Done&#039;&#039; when finished or close the dialog to revert the changes.&lt;br /&gt;
* Select &#039;&#039;Delete&#039;&#039; to remove the command from the list.&lt;br /&gt;
To add a new command, tap the &#039;&#039;New command&#039;&#039; button at the end of the list.&lt;br /&gt;
&lt;br /&gt;
==== Pattern engine commands ====&lt;br /&gt;
Each of the two engines controls a single PWM output that can be used to drive any of the three LEDs in the notification light.&lt;br /&gt;
* The &#039;&#039;Set PWM&#039;&#039; command sets the PWM output to the specified level (0-255).&lt;br /&gt;
* The &#039;&#039;Ramp&#039;&#039; command increases or decreases the PWM output by the specified number of steps with a specified wait time after each step. The total duration of the ramp is the wait time multiplied by the number of steps plus one, (&#039;&#039;wait_time&#039;&#039; * (&#039;&#039;steps&#039;&#039; + 1)).&lt;br /&gt;
* The &#039;&#039;Wait&#039;&#039; command is the same as a &#039;&#039;Ramp&#039;&#039; with zero steps. The duration is equal to the wait time.&lt;br /&gt;
* A &#039;&#039;Trigger&#039;&#039; command is used to wait for a trigger from the other engine or to set a trigger to the other engine to release it from a waiting state. This command can be used to synchronize the two independently running engines.&lt;br /&gt;
* The &#039;&#039;Go To Start&#039;&#039; command is used to repeat the pattern from the first step. All patterns must end in a &#039;&#039;Go To Start&#039;&#039; or &#039;&#039;End&#039;&#039; command.&lt;br /&gt;
* The &#039;&#039;End&#039;&#039; command stops the engine, ending the program. It can be configured to either &#039;&#039;Hold&#039;&#039; the PWM level at the current value indefinitely or to &#039;&#039;Reset&#039;&#039; the PWM level to 0, turning off the connected LEDs.&lt;br /&gt;
&lt;br /&gt;
=== Copy &amp;amp; paste ===&lt;br /&gt;
Patterns can be copied to and pasted from the clipboard in the [[LED patterns#Pattern Format|format described here]].&lt;br /&gt;
* The &#039;&#039;Copy&#039;&#039; button (or the keyboard shortcut &#039;&#039;&#039;Ctrl+c&#039;&#039;&#039;) copy the current pattern to the clipboard.&lt;br /&gt;
* To paste a pattern from the clipboard, use the keyboard shortcut &#039;&#039;&#039;Ctrl+v&#039;&#039;&#039;.&lt;br /&gt;
See [[LED patterns#Community-Made Patterns|Community-Made Patterns]] for some examples.&lt;br /&gt;
&lt;br /&gt;
=== Testing patterns ===&lt;br /&gt;
The &#039;&#039;Test&#039;&#039; button will start to replay the current pattern if it is well-formed. Unfortunately, the mce process will stop the playback occasionally and uncontrollably.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes ===&lt;br /&gt;
Selecting &#039;&#039;Done&#039;&#039; in the &#039;&#039;LED pattern editor&#039;&#039; dialog will save the changes to the pattern in the &#039;&#039;LED Patterns&#039;&#039; list. At this point, the changes are not yet applied. Just closing the &#039;&#039;LED Patterns&#039;&#039; dialog will revert any changes. Selecting &#039;&#039;Save&#039;&#039; will store the changes to the mce configuration file after a warning and restart the mce process.&lt;br /&gt;
&lt;br /&gt;
== Restoring original patterns ==&lt;br /&gt;
During the first installation, the LED Pattern Editor package stores a backup copy of the mce configuration file. Selecting &#039;&#039;Restore original patterns&#039;&#039; will restore the LED patterns from that file, overwriting all user-created patterns.&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Fremantle]]&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>2.178.134.227</name></author>
	</entry>
</feed>