Search found 47 matches

by wendlers
Mon Apr 04, 2016 8:03 pm
Forum: General Discussion and Questions
Topic: Capturing stdout from exec()
Replies: 4
Views: 6404

Re: Capturing stdout from exec()

Interresting. I only tried on ESP port so far which uses in general the same code as the unix variant regarding the term object.
by wendlers
Sat Apr 02, 2016 7:53 pm
Forum: General Discussion and Questions
Topic: Capturing stdout from exec()
Replies: 4
Views: 6404

Re: Capturing stdout from exec()

Hi, if the MicroPython platform you are using has support for os.dupterm , you could try the following (kind of a work-around I would say). Add a module/object that offers read/write methods - e.g. by adding module myio.py like so: data = b'' def clear(): global data data = b'' def read(n=-1): retur...
by wendlers
Sat Apr 02, 2016 7:13 pm
Forum: ESP8266 boards
Topic: Call for testsuite running results
Replies: 31
Views: 28179

Re: [URGENT] Call for testsuite running results

Tests pass on LoLin V3 NodeMcu (ESP-12E, e. g. http://www.banggood.com/V3-NodeMcu-Lua-WIFI-Development-Board-p-992733.html ) 405 tests performed (13213 individual testcases) 405 tests passed 48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs s...
by wendlers
Sat Apr 02, 2016 7:08 pm
Forum: ESP8266 boards
Topic: Call for testsuite running results
Replies: 31
Views: 28179

Re: [URGENT] Call for testsuite running results

Tests pass on Geekcreit NodeMcu (ESP-12E, e. g. http://www.banggood.com/Geekcreit-Doit-NodeMcu-Lua-ESP8266-ESP-12E-WIFI-Development-Board-p-985891.html ) 405 tests performed (13213 individual testcases) 405 tests passed 48 tests skipped: builtin_compile class_descriptor exception_chain fun_name orde...
by wendlers
Wed Mar 30, 2016 6:59 pm
Forum: ESP8266 boards
Topic: esp8266 network run wlan.connect esp8266 restart
Replies: 10
Views: 11835

Re: esp8266 network run wlan.connect esp8266 restart

Now (using, 61fa7c81527016be164321c442fe5317daa260ee), I think I get the same behavior as initially described in this post: MicroPython v1.6-327-g61fa7c8 on 2016-03-30; ESP module with ESP8266 Type "help()" for more information. >>> import network >>> wlan = network.WLAN(network.STA_IF) >>> wlan.act...
by wendlers
Tue Mar 29, 2016 6:54 pm
Forum: ESP8266 boards
Topic: esp8266 network run wlan.connect esp8266 restart
Replies: 10
Views: 11835

Re: esp8266 network run wlan.connect esp8266 restart

Hi, deshipu, Also. WLAN.scan() no longer works: >>> wlan.scan() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: argument num/types mismatch "wlan.scan" needs a callback as an argument (taking a tuple as parameter). E.g. the following works for me: >>> os.uname() (sy...
by wendlers
Fri Mar 25, 2016 2:49 pm
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 10666

Re: reboot after text paste?

That's good to know! I'm curious if you've used your LoLin board in a Linux environment? My Amica board gets recognized without problem, but the LoLin does not (no dev/ttyUSB0 shows up). The LoLin however works great from Windows. Yes, the LoLin works under Linux, but not in every setup. E.g. when ...
by wendlers
Thu Mar 24, 2016 7:29 am
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 10666

Re: reboot after text paste?

Oh, and I totally forgot to mention, that there is a GUI Tool called ESPlorer. It claims to also support MicroPython. Also I did not try it with MP, I could confirm it works well with Lua. Maybe have a look:

http://esp8266.ru/esplorer/
by wendlers
Thu Mar 24, 2016 7:22 am
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 10666

Re: reboot after text paste?

I wonder if all my hassle is self-inflicted by using a (non-officially supported) china import board. It does however work really well otherwise, and the NodeMCU Lua seemed to be completely happy. I use the china boards a lot my self (LoLin and Geekcreit). As far as I can tell, they work very well ...
by wendlers
Wed Mar 23, 2016 7:39 pm
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 10666

Re: reboot after text paste?

Hi, Is "pyserial" what I should have installed? Yes. PySerial is the module needed for the "pyboard.py". Note that the print "Hello World" seems to do nothing: no error, no message Have you tried to make "pyboard" follow the output - e.g. like so: python pyboard.py --device COM10 --follow -c "print(...