Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

micropython free space esp32 esp2866

def df():
  s = os.statvfs('//')
  return ('{0} MB'.format((s[0]*s[3])/1048576))
Source by forum.pycom.io #
 
PREVIOUS NEXT
Tagged: #micropython #free #space
ADD COMMENT
Topic
Name
5+4 =