Skip to content
This repository was archived by the owner on Oct 1, 2019. It is now read-only.
This repository was archived by the owner on Oct 1, 2019. It is now read-only.

Modify with 2 sensors #2

@helmar74

Description

@helmar74

Hi
I want to modify the project to add 2 sensors (for mailbox notification).
So the ESP32 must wake up if any of the 2 reed contacts is "pushed"
I found out, that there is an function
esp_deep_sleep_enable_ext1_wakeup
( [https://esp-idf.readthedocs.io/en/v2.0/api/system/deep_sleep.html] )
But i don't get i work. How can I define that the ESP is waking up when a reed contact on GPIO 33 or 34 is pushed?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions