Implementation note change
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user