Core2 for AWS IoT EduKit BSP 1.5.1
Core2ForAWS_Display_SetBrightness
void Core2ForAWS_Display_SetBrightness(uint8_t brightness);
void Core2ForAWS_Display_SetBrightness(uint8_t brightness)
Sets the brightness of the display.
Definition: core2forAWS.c:333

Sets the brightness of the display.

This function sets the brightness of the display using the AXP192 power management unit. It does not write to the display controller, so it does not require taking the xGuiSemaphore mutex prior to use.

Example:

Set the display brightness to maximum.

Parameters
[in]brightnessthe desired brightness of the display. Accepts a value from 0 to 100.