Search found 410 matches
- Wed Aug 17, 2022 1:57 am
- Forum: Programs, Libraries and Tools
- Topic: Are there tools like 'ampy' and 'there' that support websocket connections?
- Replies: 15
- Views: 11091
Re: Are there tools like 'ampy' and 'there' that support websocket connections?
Adding wireless connectivity to mpremote has been discussed and is likely to happen sooner rather than later...
- Wed Aug 17, 2022 1:55 am
- Forum: Programs, Libraries and Tools
- Topic: How about a CPython library that interacts with REPL?
- Replies: 3
- Views: 4958
Re: How about a CPython library that interacts with REPL?
The MicroPytrhon-supported pyboard.py can do this (mpremote is built on top of it).
- Mon Jul 04, 2022 2:00 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: [Pico W] WiFi WPS connection?
- Replies: 3
- Views: 3962
Re: [Pico W] WiFi WPS connection?
I also put some effort in to testing #4464 (which #7452 appeared to be inspired by). It had implemented the WPS functionality but Damien had some reasonable feedback and the PR stalled. If someone wanted to pick up the WPS effort they ought to take a look at this implementation and consider the feed...
- Wed Jun 08, 2022 1:30 am
- Forum: General Discussion and Questions
- Topic: Fast/efficient alternative to bytearray.index()?
- Replies: 18
- Views: 8781
Re: Fast/efficient alternative to bytearray.index()?
How's your C? If it's reasonable it may be possible to fix the issue! No pressure, it just may be easier than a workaround. The problem is here: py/objstr.c:702 where the type is checked (bytes are implemented using a lot of string code). Need another code path where the type is bytes and the type p...
- Tue Jun 07, 2022 2:12 pm
- Forum: General Discussion and Questions
- Topic: exec on micropython does not recognize local variable
- Replies: 2
- Views: 2753
Re: exec on micropython does not recognize local variable
In this case, it is different to CPython (to reduce memory use).
See this documented difference: Code running in eval() function doesn’t have access to local variables
See this documented difference: Code running in eval() function doesn’t have access to local variables
- Tue Jun 07, 2022 2:09 pm
- Forum: Development of MicroPython
- Topic: gource.io visualization of https://github.com/micropython/micropython development.
- Replies: 1
- Views: 3308
Re: gource.io visualization of https://github.com/micropython/micropython development.
It looks great! I made one too - but compressed the timeline down quite a bit! Nine years of MicroPython development (in 1:21).
- Tue Jun 07, 2022 1:50 pm
- Forum: ESP32 boards
- Topic: Wokwi simulator slower than real ESP32
- Replies: 8
- Views: 7718
Re: Wokwi simulator slower than real ESP32
It's visible in the REPL window in the lower right after you start running the simulation, before the REPL appears.
- Fri Jun 03, 2022 12:04 pm
- Forum: General Discussion and Questions
- Topic: Is this a bug or a feature?
- Replies: 5
- Views: 3464
Re: Is this a bug or a feature?
I think it's a bug. From PEP 358, Specification : .index(bytes | int) -> int So my understanding is that index should accept an int. ( PEP 3137 doesn't seem to contradict this behaviour.) For the record I've also tested against 3.10; same result as your test against 3.9. PR's welcome! ;) Actually, e...
- Fri Jun 03, 2022 11:12 am
- Forum: ESP32 boards
- Topic: Wokwi simulator slower than real ESP32
- Replies: 8
- Views: 7718
Re: Wokwi simulator slower than real ESP32
Note that, when the simulation is running, in the top-right of the Wokwi display there's a dial showing up to 100%; I believe this is an estimate as to the relative speed of the micro simulation. You'll see that it's often below 100%.
- Sun Feb 20, 2022 7:15 am
- Forum: General Discussion and Questions
- Topic: Is Micropython ready for industry?
- Replies: 21
- Views: 43127
Re: Is Micropython ready for industry?
In general, my opinion is that ST devices are more robust and reliable. Further, the MicroPython port is more mature than on the ESP32. That said, I'd still consider the ESP32 range - particularly if I needed wifi and the system wasn't super-critical. I would just allow more time to fix issues if th...