From 708af38819a8586b64872e4632f7d93755b6cc75 Mon Sep 17 00:00:00 2001 From: Luxferre Date: Thu, 28 Jul 2022 18:43:17 +0300 Subject: [PATCH] Implementation note change --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 64f31bc..014a019 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,8 @@ The higher nibble (bits 4 to 7) is used to indicate the status of charging and b The lower nibble (bits 0 to 3) of the status can be modified from the application, and the runtime should attempt to change the backlight brightness level, where 15 is the highest and 0 means backlight off. +Note: emulated environments are allowed to always return `ff` when this port is read from, which means emulating a fully charged phone with external power supply connected on the maximum brightness. + ## Sound output ESOP supports monophonic sound output with a beeper controllable via `06` port. As long as the port value is non-zero, the beeper must emit a sound wave of the specified frequency. The frequency is specified in semitones relative to A4 (440 Hz), with A4 itself being located at the value `30`. Setting the port value to `00` must stop the sound.