Skip to content
Discussion options

You must be logged in to vote

Ok, I did this:

import io
import os
import micropython

buff = io.StringIO()
os.dupterm(buff)
micropython.mem_info()

buff.seek(0)
a = buff.read().strip()

print(a)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Josverl
Comment options

Josverl Dec 22, 2023
Collaborator Sponsor

Answer selected by yamenk-gribaudo
Comment options

Josverl
Dec 22, 2023
Collaborator Sponsor

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants