Search found 6 matches

by DWiskow
Wed Apr 18, 2018 3:30 pm
Forum: ESP8266 boards
Topic: How to get free space of internal file system?
Replies: 12
Views: 8709

Re: How to get free space of internal file system?

This would do it . . .

Code: Select all

import uos
fs_stat = uos.statvfs('/')
fs_size = fs_stat[0] * fs_stat[2]
fs_free = fs_stat[0] * fs_stat[3]
print("File System Size {:,} - Free Space {:,}".format(fs_size, fs_free))
by DWiskow
Sat Jun 04, 2016 12:15 pm
Forum: ESP8266 boards
Topic: ESP8266 is great (with ideas for improvement)
Replies: 8
Views: 3780

Re: ESP8266 is great (with ideas for improvement)

ESPlorer (http://esp8266.ru/esplorer/ solves this problem perfectly across multiple platforms (Windoze, Mac, Linux) and also provides for REPL access . . . wired rather than wireless though
by DWiskow
Sun May 22, 2016 10:04 pm
Forum: WiPy and CC3200 boards
Topic: WiPy USB connectivity and Automatic Home Network Configuration
Replies: 1
Views: 1516

WiPy USB connectivity and Automatic Home Network Configuration

I configured my WiPy to auto connect to my home WiFi when in range and automatically setup up its default AP when not at home using the following code in 'main.py' # # main.py -- auto connect to specified WiFi if available, otherwise fires up 'wipy-wlan-xxxx' Access Point # -- enables CTRL-D soft re...
by DWiskow
Tue May 17, 2016 5:45 am
Forum: ESP8266 boards
Topic: ESPlorer IDE supports MicroPython now
Replies: 6
Views: 7866

Re: ESPlorer IDE supports MicroPython now

I have ESPlorer running on both a Mac and a Windows Laptop and am using Adafruit Huzzah Feather and DOIT ESP8266 boards . . . when using on the Mac I have the ability to transfer a file to the ESP8266, but this option is grayed out and not available on Windows. Is there a reason for this?
by DWiskow
Mon May 16, 2016 8:13 am
Forum: MicroPython pyboard
Topic: NeoPixel Library
Replies: 3
Views: 4074

NeoPixel Library

I have both a couple of pyBoard 1.1's and a number of ESP8266 Adafruit and NodeMCU/DOIT boards . . . Having spent the weekend playing with the latest 1.8 release of MicroPython on all of these, I am a little perplexed that the ESP8266 has support for the NeoPixel library built in but the pyBoard ver...
by DWiskow
Sat May 14, 2016 3:31 pm
Forum: Programs, Libraries and Tools
Topic: rshell - Remote Shell
Replies: 53
Views: 28105

Re: rshell - Remote Shell

I was trying to get rshell to work with the Adafruit Huzzah ESP8266 and the doit ESP8266 DevKit V2 . . . I modified the code in main.py to check for and validate the relevant USB\VID for these boards in addition to the pyBoard and it then found and connected to them. [code] def is_micropython_usb_de...