Search found 111 matches
- Sat Nov 14, 2020 5:24 pm
- Forum: Programs, Libraries and Tools
- Topic: PWM - different frequences.
- Replies: 3
- Views: 548
PWM - different frequences.
Hi, im using esp32 for control servos and esc. Due to the standard machine_pwm not supporting different frequencies on different PWM channels, I modified machine_pwm according to the following: https://github.com/micropython/micropython-esp32/pull/245/commits/753763b92f6df46ea9449b3bf04e509bea4a8acd...
- Sat Nov 14, 2020 9:51 am
- Forum: Programs, Libraries and Tools
- Topic: uasyncio - StreamWriter in two async loops.
- Replies: 2
- Views: 694
Re: uasyncio - StreamWriter in two async loops.
Everything ok, I did it in queue. Thanks.
- Thu Nov 12, 2020 7:28 am
- Forum: Programs, Libraries and Tools
- Topic: uasyncio - StreamWriter in two async loops.
- Replies: 2
- Views: 694
uasyncio - StreamWriter in two async loops.
Hi. How to use uasyncio.StreamWriter in two asynchronous loops in the same time? Sometimes when he wants to write to uart at the same time, not everything comes up. Thanks for help!
- Thu Oct 29, 2020 8:07 am
- Forum: Development of MicroPython
- Topic: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)
- Replies: 8
- Views: 716
Re: 1.13 - import libs is slower than 1.12 ?
Board is esp32. But it is like that with every boot. The difference can be seen when importing e.g. uasyncio.
- Wed Oct 28, 2020 6:59 pm
- Forum: Development of MicroPython
- Topic: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)
- Replies: 8
- Views: 716
1.14 or 1.13 - import libs is slower than 1.12 ? (test)
Hi. I noticed that the library imports slower in version 1.13. What is it caused by? I am using the unstable version. v.1.12: >>> time.ticks_ms();import uasyncio;time.ticks_ms() 2008736 2008754 sys.path.append('libs') >>> time.ticks_ms();from system_devices import *;time.ticks_ms() 2068585 2069417 v...
- Tue Sep 08, 2020 8:25 am
- Forum: General Discussion and Questions
- Topic: BLE init long time problem.
- Replies: 6
- Views: 730
Re: BLE init long time problem.
Oh ok, I haven't noticed that latest master is already core = 0 ok thanks.
- Tue Sep 08, 2020 8:11 am
- Forum: General Discussion and Questions
- Topic: BLE init long time problem.
- Replies: 6
- Views: 730
Re: BLE init long time problem.
Ok, then what to do to use version 1.13 without this problem, compile the latest master but with or without pinned MP to core 0?
- Tue Sep 08, 2020 7:40 am
- Forum: General Discussion and Questions
- Topic: BLE init long time problem.
- Replies: 6
- Views: 730
Re: BLE init long time problem.
Im have 1.13 (MP_TASK_COREID to code 0) with idf 4.0, Sometimes there is this problem, sometimes it is not...
- Tue Sep 08, 2020 6:44 am
- Forum: Development of MicroPython
- Topic: Build 1.12 with ESP-IDF 4.1 stable.
- Replies: 3
- Views: 638
Re: Build 1.12 with ESP-IDF 4.1 stable.
Ok thanks, but i have next problem in 1.12 and 1.13 is the same: In file included from modnetwork.c:48:0: /root/micropython-1.13/ports/esp32/esp-idf//components/tcpip_adapter/include/tcpip_adapter.h:15:2: error: #warning "This header is deprecated, please use new network related API in esp_netif.h" ...
- Mon Sep 07, 2020 7:09 pm
- Forum: Development of MicroPython
- Topic: Build 1.12 with ESP-IDF 4.1 stable.
- Replies: 3
- Views: 638
Build 1.12 with ESP-IDF 4.1 stable.
How build micropython with ESP-IDF 4.1 stable, im give error: make BOARD=GENERIC_SPIRAM kconfiglib.KconfigError: /root/micropython-1.12/ports/esp32/esp-idf/Kconfig:166: '$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE' not found (in 'source "$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE"'). Check that environ...