Difference between pages "IMX Backlight" and "Template:SoftBox"

From Variscite Wiki
(Difference between pages)
 
 
Line 1: Line 1:
{{PageHeader|Backlight}} {{DocImage|category1=Yocto|category2=VAR-SOM-MX6}}[[Category:DART-6UL]][[Category:VAR-SOM-MX7]] __toc__
+
<noinclude>{{TemplateGen|params=<nowiki>boxwidth=17(5 columns)/21(4)/29(3)/44(2)|color={orange/blue/pink/grey/green}|content=###</nowiki>}}</noinclude>
<source lang="bash">
+
<div class="card border-0">
$ cd /sys/class/backlight/backlight
+
<div class="card-header bg-{{{color|default}}} text-white" style="font-size:20px;">{{{title}}}</div>
$ echo X > brightness
+
<div class="card-header bg-{{{color|default}}}-light">{{{content}}}</div>
+
</div>
While X is a number between 0 and 7:
 
0 - backlight off
 
...
 
7 - max brightness
 
</source>
 

Revision as of 11:43, 20 May 2020

Usage

Please use this string:

{{SoftBox|boxwidth=17(5 columns)/21(4)/29(3)/44(2)|color={orange/blue/pink/grey/green}|content=###}}

{{{title}}}
{{{content}}}