Search found 171 matches
- Fri May 06, 2022 9:53 am
- Forum: Development of MicroPython
- Topic: Machine readable documentation
- Replies: 1
- Views: 2720
Re: Machine readable documentation
IMO the best is https://github.com/hlovatt/PyBoardTypeshed
- Fri Apr 08, 2022 6:03 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Cannot get access to /dev/ttyACM0
- Replies: 22
- Views: 25536
Re: Cannot get access to /dev/ttyACM0
You can get latest binary build with following command line
Code: Select all
bash <(wget -O - https://thonny.org/installer-for-linux)
- Fri Apr 08, 2022 5:36 am
- Forum: Raspberry Pi microcontroller boards
- Topic: boot.py usage with Thonny
- Replies: 1
- Views: 1405
Re: boot.py usage with Thonny
Interrupting with Ctrl+C would be a good alternative to the "Stop/Restart" button. It allows you to catch KeyboardInterrupt: try: main_work() except KeyboardInterrupt: clean_up() Unfortunately Thonny 3.3 is overly eager with handling Ctrl-C -- if it detects one, it sends several to the board, so tha...
- Tue Mar 22, 2022 3:11 pm
- Forum: Programs, Libraries and Tools
- Topic: Would you accept wheel metadata in your /lib ?
- Replies: 1
- Views: 14933
Re: Would you accept wheel metadata in your /lib ?
Well, at least nobody objected :) So I went for it... It didn't go so well initially, but then I understood that "minipip" was a bit too boring name for a project. I renamed it to "pipkin" and soon ended up with https://pypi.org/project/pipkin/1.0b2/ You can read the details at PyPI's page or GitHub...
- Sun Jan 16, 2022 10:33 am
- Forum: General Discussion and Questions
- Topic: can't stop Timer in Thonny
- Replies: 7
- Views: 15415
Re: can't stop Timer in Thonny
If you want to stop your timers with Ctrl+C, then wrap your code into a try and explicitly stop the timers (and disable irq-s) in the finally block. Also, if you use threads, I would suggest joining them before returning to REPL, so that Thonny can execute its management commands without being confu...
- Sat Jan 15, 2022 8:12 am
- Forum: General Discussion and Questions
- Topic: can't stop Timer in Thonny
- Replies: 7
- Views: 15415
Re: can't stop Timer in Thonny
I thought Ctrl+C is only supposed to interrupt the main thread, not timers nor disable the irq-s. Can someone confirm the opposite?
- Sat Jan 08, 2022 8:07 am
- Forum: Programs, Libraries and Tools
- Topic: Would you accept wheel metadata in your /lib ?
- Replies: 1
- Views: 14933
Would you accept wheel metadata in your /lib ?
I'm preparing to update minipip in order to make managing MicroPython packages with minipip as similar to using pip as possible. One of the new features would be supporting list and uninstall commands. For this to work, the install command should install some metadata along with actual modules. At t...
- Wed Dec 15, 2021 1:59 pm
- Forum: ESP32 boards
- Topic: Thonny + WebREPL
- Replies: 3
- Views: 5005
Re: Thonny + WebREPL
No, Thonny has its own connection abstraction (with unified interface for serial, subprocess and websocket connections). AFAIK, mpremote doesn't support WebREPL.
- Wed Dec 15, 2021 9:13 am
- Forum: ESP32 boards
- Topic: Thonny + WebREPL
- Replies: 3
- Views: 5005
Re: Thonny + WebREPL
Daniel, Thonny's MicroPython support is currently being reorganized for the upcoming Thonny 4.0.
If you sent your boot and main scripts for reproducing the problems (https://github.com/thonny/thonny/issues/new) then maybe I could be able to fix it.
If you sent your boot and main scripts for reproducing the problems (https://github.com/thonny/thonny/issues/new) then maybe I could be able to fix it.
- Tue Dec 14, 2021 4:16 pm
- Forum: Programs, Libraries and Tools
- Topic: Compatibility layer for Adafruit CircuitPython drivers on Micropython
- Replies: 10
- Views: 39183
Re: Compatibility layer for Adafruit CircuitPython drivers on Micropython
Most of the blinka is meant for CPython. Try following machine.py to see, what would actually be required for your device.