kamilsss655 / ESPRI

ESPRI (ESP Radio Interface) project providing extended functionalities to ham radios
Apache License 2.0
122 stars 6 forks source link

[FEATURE] Add "Deep sleep" with BTN1 enable/disable in Settings #37

Open ErikS-web opened 4 months ago

ErikS-web commented 4 months ago

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

When the touchpad marked as BTN1 on the ESPRi-PCB the program flashed twice the Green LED and than goes to Deep sleep.

This can be seen in console-logging.

I (12777) HW/BUTTON: Button 1 was pressed. I (12877) SYSTEM: Deep sleep

Until BTN1 is pressed again (or reset from device).

rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

Touch-pad-1-marked

Describe alternatives you've considered

Not everyone will prefer this and may even touch it unconsciously. I suggest making this BTN-1 Deep sleep function selectable in Setting

Additional context

-

kamilsss655 commented 4 months ago

Yup, ideally there should be actions system, where BTN 1 has user assignable action/function.

Perhaps good first issue for new developers.