Search found 303 matches

by mattyt
Tue Nov 24, 2020 3:11 am
Forum: ESP8266 boards
Topic: Esp8266 Pwm 25khz
Replies: 1
Views: 37

Re: Esp8266 Pwm 25khz

Your best bet would be to use an external chip and control it by I2C. The ESP8266 has no dedicated hardware to generate a PWM waveform (bit banging is used to achieve the 1KHz rate used by MicroPython) and it will be extremely difficult to achieve that frequency. The only possibility I can think of ...
by mattyt
Sat Nov 21, 2020 10:55 am
Forum: Development of MicroPython
Topic: micropython origins?
Replies: 4
Views: 142

Re: micropython origins?

Although originally using 3.3 (then, later, 3.4) as a baseline, MicroPython now contains a mix of features from various Python releases. For example, v1.13 includes the assignment (walrus) operator, described in PEP 572 and introduced in Python 3.8 . Generally, most features will be considered, the ...
by mattyt
Wed Sep 16, 2020 6:25 am
Forum: Development of MicroPython
Topic: Error building port for STM32WB55
Replies: 5
Views: 546

Re: Error building port for STM32WB55

Quick check: Have you set:

Code: Select all

MCU_SERIES = wb
CMSIS_MCU = STM32WB55xx
in mpconfigboard.mk? Those will determine how parts of the STM32 HAL will be configured, including the number of timers etc...
by mattyt
Wed Sep 16, 2020 6:17 am
Forum: Other Boards
Topic: [ATSAME70Q21] MicroPython + FreeRTOS Port
Replies: 2
Views: 437

Re: [ATSAME70Q21] MicroPython + FreeRTOS Port

Perhaps it would be useful to look at the embedding example?
by mattyt
Tue Sep 15, 2020 1:40 am
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] enable (more) flash
Replies: 3
Views: 377

Re: [ADAFRUIT_F405_EXPRESS] enable (more) flash

...and then it'd be great if you could submit a PR to add support for this board to MicroPython! :)
by mattyt
Sat Sep 05, 2020 1:38 am
Forum: Programs, Libraries and Tools
Topic: Beta of Thonny 3.3 with several MP-related improvements
Replies: 2
Views: 393

Re: Beta of Thonny 3.3 with several MP-related improvements

Thanks for all your efforts Alvar! This looks really cool. I helped write some workshop material for beginners last year and need to base it around some tool to help deploy files to a device. I chose the alpha of Mu (which is also great) over Thonny because, at the time, using it with MicroPython wa...
by mattyt
Sun Aug 09, 2020 5:21 am
Forum: Drivers for External Components
Topic: Anyone have drivers for FXOS8700/FXAS21002 (Adafruit NXP precision IMU)?
Replies: 2
Views: 487

Re: Anyone have drivers for FXOS8700/FXAS21002 (Adafruit NXP precision IMU)?

There are CircuitPython drivers for both the FXOS8700 and the FXAS21002 . Both will be trivial to port to MicroPython - just change some references to the way I2C is handled. Let me know if you get stuck! I'd also suggest a design change: just pass an I2C object to each of the drivers rather than cr...
by mattyt
Sun Aug 09, 2020 1:16 am
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 1834

Re: pypi.org/pypi vs micropython.org/pi

That's a pretty interesting take on how to do package installs! I like it. Thought it might be worth highlighting #358 since it adds version specifiers (from PEP440 and PEP508 to upip. But it was submitted against the older micropython-lib upip rather than the micropython upip. If you think it'd be ...
by mattyt
Thu Aug 06, 2020 10:12 pm
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 1834

Re: pypi.org/pypi vs micropython.org/pi

Note that, confusingly, there are versions of upip in micropython and micropython-lib. There are slight differences.

I believe the intent is to continue forward with the micropython version and remove micropython-lib...
by mattyt
Wed Aug 05, 2020 3:08 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 72
Views: 9490

Re: TTGO T-WATCH-2020

It might be a good idea to port Daniel Thompson's wasp-os. He's already implemented a lot of the basics...