I am building a flashlight app and the backlight is either on or off. I am setting the intensity from 10-100 via button presses.
The backlight at full intensity is significantly less bright than my Garmin 255 (which has a similar MIP screen).
case CustomMessage::SET_BRIGHTNESS: {
auto* req = static_cast<CustomMessage::SetBrightness*>(msg);
LOG_INFO("Setting brightness to %u\n", req->brightness);
auto *backlightMsg = mKernel.comm.allocateMessage<SDK::Message::RequestBacklightSet>();
if (backlightMsg) {
backlightMsg->brightness = req->brightness;
backlightMsg->autoOffTimeoutMs = 300000;
if (mKernel.comm.sendMessage(backlightMsg, 100)) {
LOG_INFO("RequestBacklightSet sent successfully\n");
} else {
LOG_ERROR("Failed to send RequestBacklightSet\n");
}
mKernel.comm.releaseMessage(backlightMsg);
}
} break;
I am building a flashlight app and the backlight is either on or off. I am setting the intensity from 10-100 via button presses.
The backlight at full intensity is significantly less bright than my Garmin 255 (which has a similar MIP screen).