30 lines
640 B
Markdown
30 lines
640 B
Markdown
---
|
|
tag: m0256
|
|
title: LCD Brightness
|
|
brief: Set and/or get the LCD brightness.
|
|
author: thinkyhead
|
|
|
|
requires: HAS_LCD_BRIGHTNESS
|
|
group: lcd
|
|
since: 2.0.9.2
|
|
|
|
codes: [ M256 ]
|
|
|
|
notes: Requires an LCD controller with software-controlled brightness. This may be extended in the future to work with a NeoPixel or RGB LED backlight.
|
|
|
|
parameters:
|
|
-
|
|
tag: B
|
|
optional: true
|
|
description: Brightness value (0 - 255)
|
|
values:
|
|
-
|
|
tag: brightness
|
|
type: int
|
|
|
|
examples:
|
|
|
|
---
|
|
|
|
Set and/or get the LCD brightness. The value is constrained based on the LCD, but typically a value of 0 is the dimmest and 255 is the brightest.
|