Search found 12 matches
- Mon Jan 20, 2020 9:41 pm
- Forum: Programs, Libraries and Tools
- Topic: 'ampy run' does not print to output in realtime
- Replies: 1
- Views: 2105
'ampy run' does not print to output in realtime
Using Ubuntu Linux, I can successfully manipulate my esp32 board with adafruit-ampy but when I 'ampy run file.py' I can see no output on my console. The code executes on the device but the Linux console is pretty idle by the time the code breaks, only then some of the content I'd expect to see in re...
- Sat Mar 02, 2019 8:38 pm
- Forum: Programs, Libraries and Tools
- Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
- Replies: 114
- Views: 135138
Re: uasyncio - asyncio-like cooperative multitasking framework for uPy
For posterity, as I've spend several days investigating this case, maybe this is going to save somebody else's time. While running my picoweb server and some mqtt reporting to Thingspeak executed within uasyncio loop on my Wemos D1 mini (ESP8266) after some time I was getting a vague ValueError: gen...
- Sat Mar 02, 2019 8:08 pm
- Forum: ESP8266 boards
- Topic: GPIO0 (D3) pin on Wemos D1 mini toggles upon Micropython start
- Replies: 0
- Views: 1971
GPIO0 (D3) pin on Wemos D1 mini toggles upon Micropython start
What is special about GPIO0 (D3) that this pin toogles ON->OFF upon bootup of Micropython? I checked the rest of the pins and they look to behave correctly i.e no unexpected toggling.
- Sun Feb 24, 2019 11:57 am
- Forum: ESP8266 boards
- Topic: How to disable autoconnect ("no ap found, reconnect after 1s")?
- Replies: 3
- Views: 3940
How to disable autoconnect ("no ap found, reconnect after 1s")?
Even though my main.py and boot.py scripts do not contain WIFI connection calls (nor credentials), micropython seems to remember the credentials and keeps reconnecting every second, yielding a notification "no ap found, reconnect after 1s". Also, despite providing new (incorrect credentials just for...
- Tue Feb 12, 2019 9:57 pm
- Forum: ESP8266 boards
- Topic: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
- Replies: 17
- Views: 13462
Re: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
Worked as a charm, many thanks!
- Tue Feb 12, 2019 9:38 pm
- Forum: Programs, Libraries and Tools
- Topic: micropython-lib - "distributed" uPython standard library
- Replies: 30
- Views: 221944
Problem with uaiohttpclient run witl pycopy
Trying to run micropython-lib's http.client renders the following error regardless of whether using @pfalcon's version of micropython-lib or the "official" one (https://github.com/micropython/micropython-lib/) tomek@ubuntu:~/src/micropython/ports/unix$ ./micropython ~/src/micropython-lib/http.client...
- Sat Feb 02, 2019 11:05 pm
- Forum: ESP8266 boards
- Topic: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
- Replies: 17
- Views: 13462
Re: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
Thanks @pfalcon! I did the update and it works ok now. I can see you have pushed quite a lot of commits today, thanks! $ git pull --rebase remote: Enumerating objects: 196, done. remote: Counting objects: 100% (196/196), done. remote: Compressing objects: 100% (95/95), done. remote: Total 196 (delta...
- Sat Feb 02, 2019 9:32 pm
- Forum: ESP8266 boards
- Topic: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
- Replies: 17
- Views: 13462
Re: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
Seems like I'm not too lucky with that micropython stuff. I compiled a pfalcon's pycopy (https://github.com/pfalcon/pycopy), pulled in (upip) the uasyncio, picoweb, micropython-ulogging (all pfalcon's AFAIK) and I still get the same issue report: '192.168.0.87', '255.255.255.0', '192.168.0.1', '62.1...
- Sat Feb 02, 2019 10:53 am
- Forum: ESP8266 boards
- Topic: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
- Replies: 17
- Views: 13462
Re: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
I compile the firmware from the source code as I want to include picoweb in the bundle. Copying micropython-lib/uasyncio and uasyncio-core to micropython-1.10/ports/esp8266/modules doesn't do the job, I guess some more sophisticated installation is needed for the micropython's makefile to pull the m...
- Sat Feb 02, 2019 10:42 am
- Forum: ESP8266 boards
- Topic: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
- Replies: 17
- Views: 13462
Re: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
Ok, I get it now, I was not aware that the PyPi.org hosted packages were @pfalcon ones.
This might me a stupid quesion but how do I get the official micropython-lib's uasyncio deployed to my micropython build? I don't want upip to download it from pypi.org but rather take the local one.
This might me a stupid quesion but how do I get the official micropython-lib's uasyncio deployed to my micropython build? I don't want upip to download it from pypi.org but rather take the local one.