spaceAngel / cyberWatch

simple OS for LillyGO T-Watch V3
https://cyberwatch.cyberdeck.cz
GNU General Public License v3.0
32 stars 8 forks source link

What is the meaning of PEKshort? #1

Closed arduino-man closed 2 years ago

arduino-man commented 2 years ago

I am curious, what is the meaning of PEKshort inside CyberWatch.cpp?

Love the cyberwatch OS btw

spaceAngel commented 2 years ago

PEKshort means short press (approx <1s) of the button on the right side of watches. (In my system used for start/stop/reset stopwatch, turn on "allways on" feature on clockfaces component and so on.

PEKlong means press this button a hold it pressed - ususally used for turining off.

Is that clear?

arduino-man commented 2 years ago

Absolutely clear. Thank you.

May I ask what the PEK portion stands for? It's really just curiosity.

Thanks a lot.

spaceAngel commented 2 years ago

As i said, I use it as "control button" in case i want to prevent "randomly touching" display, but I need user itneraction - eg. start/stop stopwatch .

arduino-man commented 2 years ago

Thanks for responding. I think I didn't explain myself properly, sorry. I understand the purpose of the button.

I am curious about the meaning of the variable name.

Was does the letters P.E.K stand for? I am curious as to why it is called PEKshort and not something else.

Thank you

spaceAngel commented 2 years ago

I don't know real meaning of the "PEK" term. It's used in axp202 library (library for working with power source).

Sorry, i don!t know the answer :-(

spaceAngel commented 2 years ago

Oh, just google it.

Power Extender Kit

https://homeinspectioninsider.com/ecobee-power-extender-kit/

arduino-man commented 2 years ago

Thank you very much good sir.

arduino-man commented 2 years ago

After some googling I confirmed that PEK actually stands for Power Enable Key :)

Cheers