Search found 7 matches

by varylee
Thu Jan 27, 2022 4:13 pm
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 119048

Re: MicroPython version 1.18 released

I made a PR which fixes the low frequency issue: https://github.com/micropython/micropython/pull/8200 Once the PR is merged, you can use the daily builds. Id does not change the behavior, that small frequency changes do not affect the output frequency. That is related to the ESP32-idf library, but ...
by varylee
Wed Jan 19, 2022 4:05 pm
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 119048

Re: MicroPython version 1.18 released

Finally, I did a test. On the ESP32, THE PWM worked well when freq=611, but the PWM did not output when freq=610. Although I can only return 1.17 with 8 PWM pins, at least I know where the problem is. I look forward to a new firmware to solve my problem as soon as possible. Thank you very much for y...
by varylee
Wed Jan 19, 2022 2:51 am
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 119048

Re: MicroPython version 1.18 released

The most recent daily builds do not differ much from the version v1.18. Just consider V1.18 as the daily build of January 17, 2022. Between V1.17 and v1.18 was a major change in the PWM module. I am pretty sure that is it working, However, the way it hast to used may have changed somewhat. Which ES...
by varylee
Tue Jan 18, 2022 5:55 pm
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 119048

Re: MicroPython version 1.18 released

Which version worked for you? Two days ago, there was only version 1.17. When I was working on my project, I found that some of the 16 pins given in the document could not be used. I tested one by one and found that only 8 pins could be used, but I needed more pins. So I tested the beta, the beta, ...
by varylee
Tue Jan 18, 2022 4:44 pm
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 119048

Re: MicroPython version 1.18 released

Works here: >>> from machine import PWM, Pin >>> p=PWM(Pin(18, Pin.OUT), freq=1000, duty=512) I just made the mistake of testing your code in 1.17 firmware and it works fine. After switching to 1.18 firmware, the code runs normally, but the steering gear does not react. This was the case in the bet...
by varylee
Tue Jan 18, 2022 4:21 pm
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 119048

Re: MicroPython version 1.18 released

I see, I did not specify Pin.OUT, thank you.
by varylee
Tue Jan 18, 2022 11:38 am
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 119048

Re: MicroPython version 1.18 released

I found that the new 1.18 firmware has no PWM output on ESP32 and cannot be used. English is not my first language and the content comes from machine translation.