Editing LED Pattern Editor

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 22: Line 22:
==== Pattern engine commands ====
==== Pattern engine commands ====
-
Each of the two engines controls a single PWM (Pulse Width Modulation, a way of dimming) output that can be used to drive any of the three LEDs in the notification light.
+
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.
* The ''Set PWM'' command sets the PWM output to the specified level (0-255).
* The ''Set PWM'' command sets the PWM output to the specified level (0-255).
* The ''Ramp'' 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, (''wait_time'' * (''steps'' + 1)).
* The ''Ramp'' 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, (''wait_time'' * (''steps'' + 1)).

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)