Search found 410 matches

by mattyt
Sat Feb 19, 2022 11:24 am
Forum: Programs, Libraries and Tools
Topic: Generate a Sine wave
Replies: 4
Views: 9080

Re: Generate a Sine wave

See # 5514 for an alternative way to generate a sine wave using extra features of the ESP32 DAC. Note that this is a non-standard MicroPython feature (since it's quite particular to the ESP32) and my guess is that it's unlikely to be merged. An alternative that might have a better chance would be to...
by mattyt
Fri Feb 18, 2022 11:14 am
Forum: General Discussion and Questions
Topic: Is Micropython ready for industry?
Replies: 21
Views: 43350

Re: Is Micropython ready for industry?

The company I work for uses MicroPython commercially to build medical devices . We have a handful of successful projects that have been completed over the past 4-5 years. Andrew, a colleague and friend, gave a talk at the 2019 PyCon AU: Profiling Pathogens with (micro) Python . While we've completed...
by mattyt
Fri Jan 28, 2022 7:15 am
Forum: General Discussion and Questions
Topic: mpy-cross
Replies: 4
Views: 7673

Re: mpy-cross

Take a look at mpy-cross v1.17 on PyPi.

Code: Select all

pip install mpy-cross==1.17
You'll also find basic documentation on how to use it on that page. Basic use:

Code: Select all

mpy-cross yourfile.py
by mattyt
Fri Jan 28, 2022 4:01 am
Forum: Announcements and News
Topic: MicroPython version 1.18 released
Replies: 20
Views: 118572

Re: MicroPython version 1.18 released

mpremote is OS independent but it requires pyserial which is a little more picky...maybe first try 'pip install pyserial' and see if that works?
by mattyt
Mon Jan 24, 2022 12:16 am
Forum: ESP32 boards
Topic: PWM duty problem MicroPython v1.18
Replies: 2
Views: 4034

Re: PWM duty problem MicroPython v1.18

See forum thread MicroPython version 1.18 released, including PR 8200 from Roberthh which ought to address your issue.
by mattyt
Sun Dec 19, 2021 3:13 am
Forum: ESP32 boards
Topic: ESP32 machine.PWM
Replies: 23
Views: 29681

Re: ESP32 machine.PWM

As Robert mentioned, PR #7817 added improved support for ESP32 PWM. It was merged on the 21st September (ie after v1.17) so, for now, you'll need to pick up a nightly build.

v1.18 - containing this change - should be released soon!
by mattyt
Tue Dec 14, 2021 3:29 am
Forum: General Discussion and Questions
Topic: Epoch date/time is the same for all MCU's..?
Replies: 10
Views: 23567

Re: Epoch date/time is the same for all MCU's..?

As an aside...for a long time, Damien has been considering changing to the 1970 the epoch - for all ports - bringing it in-line with CPython (rather than the year 2000). It's a complex topic and, since it will be a breaking change, has to be very carefully considered. Some discussion is in #5969.
by mattyt
Mon Dec 13, 2021 2:20 am
Forum: Programs, Libraries and Tools
Topic: A uasyncio monitor
Replies: 9
Views: 19473

Re: A uasyncio monitor

Hi Peter, I don't need it right now but at some point in the future, I will wish I did. :) I don't want to ask you to do more work but yes, I'm interested in it.
by mattyt
Mon Dec 13, 2021 1:07 am
Forum: ESP32 boards
Topic:  Virtual ESP32 Simulator on MicroPython - Feedback please
Replies: 1
Views: 2879

Re:  Virtual ESP32 Simulator on MicroPython - Feedback please

It's really impressive stuff, thanks for your efforts Julie! I discussed Wokwi briefly at the November Melbourne MicroPython Meetup ( Slide 25 ) and there was certainly interest in it. I also enjoyed Uri Shaked's recent Remoticon talk about extending the Wokwi simulator by Reverse Engineering the ES...
by mattyt
Sat Dec 11, 2021 9:43 am
Forum: Programs, Libraries and Tools
Topic: Sharp Memory Display with RP2040 - Pi Pico
Replies: 12
Views: 25230

Re: Sharp Memory Display with RP2040 - Pi Pico

pythoncoder wrote:
Sat Dec 11, 2021 9:20 am
What about machine.SoftSPI? This should work.
Oh, that's a much better idea! :P

May not be able to achieve 2MHz with SoftSPI (anyone know the max actual baud rate?) but at least it will be functional.