Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

len(alarm.sleep_memory) would be very useful #3956

Closed
anecdata opened this issue Jan 9, 2021 · 0 comments · Fixed by #3958
Closed

len(alarm.sleep_memory) would be very useful #3956

anecdata opened this issue Jan 9, 2021 · 0 comments · Fixed by #3958

Comments

@anecdata
Copy link
Member

anecdata commented Jan 9, 2021

ESP32-S2 with 6.1.0-rc.0:

>>> import microcontroller
>>> len(microcontroller.nvm)
20480
>>> 
>>> import alarm
>>> len(alarm.sleep_memory)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object of type 'SleepMemory' has no len()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant