Search found 5956 matches
- Thu Aug 04, 2022 8:25 am
- Forum: General Discussion and Questions
- Topic: WebREPL and uasyncio
- Replies: 9
- Views: 11530
Re: WebREPL and uasyncio
In Python (Cpython and MicroPython) while a program is running the REPL is inactive. You can interrupt execution with ctrl-C but any other typing is ignored. In this respect a uasyncio program is no different from any other.
- Tue Aug 02, 2022 8:19 am
- Forum: Programs, Libraries and Tools
- Topic: nano-gui - Trying Adafruit 2.9" E-Ink Tri-Color display with Esp32
- Replies: 7
- Views: 7117
Re: nano-gui - Trying Adafruit 2.9" E-Ink Tri-Color display with Esp32
Please see list of supported displays. Unfortunately your display is not on that list and no driver has been written for it.
- Mon Aug 01, 2022 4:37 pm
- Forum: General Discussion and Questions
- Topic: Something like the python 'schedule' module in MicroPython?
- Replies: 2
- Views: 2752
- Sun Jul 31, 2022 9:46 am
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 470604
Re: Teensy 4.0 & 4.1
... Other flash chips might not require that option, or the need it to be set as: cmd5=True ... As you may know, some chip designs use 4 byte commands and others use 5 bytes. Aside from studying the datasheet, trial and error with the cmd5 arg is required. Unless there is a way to query the chip to...
- Sun Jul 31, 2022 7:46 am
- Forum: ESP32 boards
- Topic: Triple Quoted Comments (Strings)
- Replies: 3
- Views: 2725
Re: Triple Quoted Comments (Strings)
They are ignored.
The way to check this kind of thing is to compile the Unix build. Write a small test script and issue
It will print the bytecode generated.
This is extremely informative.
The way to check this kind of thing is to compile the Unix build. Write a small test script and issue
Code: Select all
./micropython -v -v my_test.py
This is extremely informative.
- Sun Jul 31, 2022 7:40 am
- Forum: General Discussion and Questions
- Topic: Odd timing response between Node Red and Pico W?
- Replies: 4
- Views: 3367
Re: Odd timing response between Node Red and Pico W?
Please could you point me to some documentation that explains this code.
- Fri Jul 29, 2022 7:59 am
- Forum: General Discussion and Questions
- Topic: Use of gc over and over?
- Replies: 5
- Views: 2998
Re: Use of gc over and over?
When you import a module which exists as Python sourcecode the compiler converts it to bytecode. This process involves allocations and running an explicit gc.collect() reclaims the allocations. The aim is to reduce RAM fragmentation. This can be an issue if the application needs to allocate large bu...
- Fri Jul 29, 2022 7:43 am
- Forum: MicroPython pyboard
- Topic: Why is the interrupt queued?
- Replies: 5
- Views: 26151
Re: Why is the interrupt queued?
It does. But as you point out it is effectively obsolete.
- Thu Jul 28, 2022 8:41 am
- Forum: General Discussion and Questions
- Topic: Using local time with Pico W
- Replies: 17
- Views: 54735
- Thu Jul 28, 2022 8:36 am
- Forum: General Discussion and Questions
- Topic: Problems with running umqtt client asynchronously in main.py
- Replies: 6
- Views: 8687
Re: Problems with running umqtt client asynchronously in main.py
If asynchronous operation is important mqtt_as is a proven solution.