https://github.com/micropython/micropython/pull/5473
https://micropython-tve.readthedocs.io/ ... 2-lowpower
Search found 216 matches
- Sat Jun 20, 2020 4:51 am
- Forum: ESP32 boards
- Topic: modem sleep
- Replies: 5
- Views: 4463
- Thu Jun 11, 2020 4:33 am
- Forum: General Discussion and Questions
- Topic: Show me: a library for easy WiFi setup for non-dev end-users
- Replies: 4
- Views: 4405
Re: Show me: a library for easy WiFi setup for non-dev end-users
Nice! Thanks for sharing!
- Sat Jun 06, 2020 3:44 pm
- Forum: General Discussion and Questions
- Topic: Avoiding "async def" creep
- Replies: 21
- Views: 15122
Re: Avoiding "async def" creep
You can't make a silk purse out of a sow's ear Anyway - by now I may have bored enough people with my pedantic posts. Still, I hope we can at least agree that the current situation is unfortunate: we have slow blocking code which can't be made concurrent (open/read/write/etc) and we have coroutines...
- Wed Jun 03, 2020 6:10 am
- Forum: Pyboard D-series
- Topic: How to troubleshoot crashing PYBD
- Replies: 2
- Views: 2541
Re: How to troubleshoot crashing PYBD
At risk of "teaching granny to suck eggs" if code is locking up solid the only recourse I've found is the old-fashioned way: lots of print statements so you can trace execution leading up to the crash, and/or disabling chunks of code in turn until you find the culprit. I was lucky, my MQTT micro-fr...
- Tue Jun 02, 2020 10:52 pm
- Forum: Pyboard D-series
- Topic: How to troubleshoot crashing PYBD
- Replies: 2
- Views: 2541
How to troubleshoot crashing PYBD
The PYBD is crashing on me and all I get is an error from the terminal program that USB (/dev/ttyACM0) is dead. E.g. SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) How do I find out where the PYBD crashed? Something like a bac...
- Tue Jun 02, 2020 8:12 am
- Forum: General Discussion and Questions
- Topic: Avoiding "async def" creep
- Replies: 21
- Views: 15122
Re: Avoiding "async def" creep
A case like we are discussing would put the onus on the user programmer to ensure that the "callback" terminated quickly. With these objects being separate, developers can give user a "nudge" towards fast termination by specifying a callback. Thanks for the thoughts. I went back and forth in my lib...
- Mon Jun 01, 2020 5:27 pm
- Forum: General Discussion and Questions
- Topic: Avoiding "async def" creep
- Replies: 21
- Views: 15122
Re: Avoiding "async def" creep
... One example I've experienced my self is the `subs_cb` callback in Peter's mqtt_as (that's the callback the library makes into the app when a message arrives so the app can handle the message). He decided that the callback is a `def` and not an `async def`. Why? It's very inconvenient at times, ...
- Sun May 31, 2020 11:52 pm
- Forum: Programs, Libraries and Tools
- Topic: Send string by using sockets and UDP
- Replies: 1
- Views: 1658
Re: Send string by using sockets and UDP
Hi there I have an ESP32 that is using almost all available memory --- so much so that I cannot import umqttsimple without memory allocation errors (I do acknowledge that this is likely due to extreme inefficient use of memory by a NOOB).... What I would like: > Help with the implementation of the ...
- Sun May 31, 2020 11:48 pm
- Forum: ESP32 boards
- Topic: Stability of ESP32 vs ESP8266
- Replies: 25
- Views: 22411
Re: Stability of ESP32 vs ESP8266
LOL, stm32 fanboys come out guns blazing :-) Good info though. So PYBD-SF2 and -SF3 don't have DCMI, you have to shell out for the -SF6. Or did I miss something looking through the datasheets? Grepping through the MP source, I don't see DCMI camera drivers so you have to code that up yourself, or di...
- Sun May 31, 2020 6:39 pm
- Forum: ESP32 boards
- Topic: Stability of ESP32 vs ESP8266
- Replies: 25
- Views: 22411
Re: Stability of ESP32 vs ESP8266
... Any reasons PyBoard D Series is better than ESP32? more reliable wifi? Did you manage to test out the PyBoard D Series?... I have done a lot of work with the D series. It is streets ahead of ESP32 because WiFi is devolved to a separate chip. This means that MicroPython runs on bare metal and ha...