Search found 1114 matches

by Roberthh
Tue Nov 08, 2016 6:57 am
Forum: ESP8266 boards
Topic: Downloading 1GB of data with MicroPython ESP8266 port
Replies: 26
Views: 8683

Re: Downloading 1GB of data with MicroPython ESP8266 port

Hi @pfalcon, just a few results. - Setting station mode twice does not seem the problem, only how. My AP takes a while to connect. If I add a loop waiting to be connected it works all the time. - Achieved download sizes vary a lot, between 6kBytes and 480 MBytes. - On one of the devices I had alread...
by Roberthh
Mon Nov 07, 2016 6:21 pm
Forum: ESP8266 boards
Topic: Downloading 1GB of data with MicroPython ESP8266 port
Replies: 26
Views: 8683

Re: Downloading 1GB of data with MicroPython ESP8266 port

Update: It looks as if the problem with my test was between keyboard and chair. The test code activated station mode, which I do by default in main.py. And setting station mode twice confuses either the esp8266 or my access point. Now, the test runs much better, although at sometimes I still get the...
by Roberthh
Mon Nov 07, 2016 6:17 pm
Forum: ESP8266 boards
Topic: OSError 28
Replies: 5
Views: 1979

Re: OSError 28

The stat() call provides the size of the file as the 7th element. The last three are coded time stamps, which can be neglected. So SimpleHTTPServer.py has a size of 0, the other sizes look fine. The first value tells that it is is a file.
by Roberthh
Mon Nov 07, 2016 7:07 am
Forum: ESP8266 boards
Topic: Downloading 1GB of data with MicroPython ESP8266 port
Replies: 26
Views: 8683

Re: Downloading 1GB of data with MicroPython ESP8266 port

I gave it a try this morning. Even if the speed is fast (~72/s), I very ofte run ito a lock situation, where it hangs forever. Device: Huzzah Feather. Log: MicroPython v1.8.5-121-g5c3d75c on 2016-11-06; ESP module with ESP8266 Type "help()" for more information. >>> import test_dl Traceback (most re...
by Roberthh
Sun Nov 06, 2016 8:18 pm
Forum: General Discussion and Questions
Topic: const no longer a keyword
Replies: 2
Views: 1125

Re: const no longer a keyword

It does not look like that. In today's build of EPS8266 I can still enter/use something like

Code: Select all

a = const(3)
without having imported const before. And I definitely have code on the esp8266, that uses const and does not import it.
by Roberthh
Sun Nov 06, 2016 7:44 pm
Forum: ESP8266 boards
Topic: OSError 28
Replies: 5
Views: 1979

Re: OSError 28

You can check the free space with os.statvfs(""). The first two values of the tuple ar the block size, the 3rd the total number of blocks, the 4th the number of free blocks. If that looks strange, the file system may be corrupted, for whatever reason. Try to erase the flash then and reload everythin...
by Roberthh
Sun Nov 06, 2016 2:55 pm
Forum: Other Boards
Topic: Teensy 3.5 & 3.6 support
Replies: 24
Views: 10419

Re: Teensy 3.5 & 3.6 support

I just tried that version on teensy 3.6. It makes real fun. Thanks a lot @dhylands, for starting that port. The CPU runs like a greyhound. That should get one of the standard-platforms for MicroPython. Lots of memory and I/O, neat form factor. I also configured my little on-board editor for that dev...
by Roberthh
Sun Nov 06, 2016 1:01 pm
Forum: Other Boards
Topic: Teensy 3.5 & 3.6 support
Replies: 24
Views: 10419

Re: Teensy 3.5 & 3.6 support

You can also uses adafruit's ampy tool: https://github.com/adafruit/ampy
by Roberthh
Sun Nov 06, 2016 8:23 am
Forum: The WiPy and CC3200 boards
Topic: DAQ Trigger Setup and Control
Replies: 7
Views: 2362

Re: DAQ Trigger Setup and Control

You could increment a global value in the callback and look in the REPL, whether it changes or not.
by Roberthh
Sun Nov 06, 2016 7:13 am
Forum: Hardware Projects
Topic: SCT-013 values
Replies: 9
Views: 4967

Re: SCT-013 values

I understand the principle. If I look up the examples n the net, you'll get a sinusoidal signal, which has to be appropriately captured. And that was my thought, if that is don in the software.