GSPLCD:SetBrightness

Revision as of 02:47, 29 August 2016 by MarcusD (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000B0080] |- | 1 | Screen index (top = 1, bottom = 2) |- | 2 | Brightness lev...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RequestEdit

Index Word Description
0 Header code [0x000B0080]
1 Screen index (top = 1, bottom = 2)
2 Brightness level (1 - 5)

ResponseEdit

Index Word Description
0 Header code
1 Result code

DescriptionEdit

Sets the brightness of the given screen. The function will automatically cap the brightness level between 1 and 5, inclusive. This function behaves exactly like the brightness selector in the Home Menu, except that the brightness switch on the Home Menu remains at the same position regardless of the actual brightness level.