Skip to content

How to override the data which is stored in rtc?  #3

@pawisoon

Description

@pawisoon

Hi,
Thanks a lot for your 1daydeepsleep code!
https://github.com/HarringayMakerSpace/IoT/blob/master/HygrometerOnceADay/HygrometerOnceADay.ino

I was just wondering how to override it? I mean, I run your code but right after esp going to deepsleep I disconnect if from power and reconnect it after a few seconds.
What behaviour should I expect? In my case esp throws:

rtcStore: 123,10
rtcStore: 123,11
*** Up time: 71, deep sleep for 3600 seconds, with radio off... 

How to make it restart code when power comes back instead of going to sleep again?
Cheers,
Pawel

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