esop

Essential Stack-Operated Phone (concept)
git clone git://git.luxferre.top/esop.git
Log | Files | Refs | README | LICENSE

commit 708af38819a8586b64872e4632f7d93755b6cc75
parent 20578c439fefce135ed4c37679f47aa98d9f02ca
Author: Luxferre <lux@ferre>
Date:   Thu, 28 Jul 2022 18:43:17 +0300

Implementation note change

Diffstat:
MREADME.md | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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.