Search found 3 matches

by dragon12
Fri Oct 22, 2021 1:38 pm
Forum: Programs, Libraries and Tools
Topic: can't import name pwm
Replies: 3
Views: 1745

Re: can't import name pwm

Roberthh wrote:
Fri Oct 22, 2021 1:23 pm
On the STM32 port pwm is part of the pyb.Timer module. See: https://docs.micropython.org/en/latest/ ... hlight=pwm
Thank you for helping me with this. I assumed that machine is common hardware library and all its modules present on all boards.
by dragon12
Fri Oct 22, 2021 1:04 pm
Forum: Programs, Libraries and Tools
Topic: can't import name pwm
Replies: 3
Views: 1745

can't import name pwm

For some reason I cannot find PWM module: MicroPython v1.17-68-g35fb90bd5-dirty on 2021-09-24; NUCLEO-F401RE with STM32F401xE Type "help()" for more information. >>> from machine import pwm Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: can't import name pwm >>> ...
by dragon12
Fri Sep 10, 2021 5:42 pm
Forum: Other Boards
Topic: [NUCLEO-L476RG] Configure SDMMC peripheral
Replies: 5
Views: 3322

Re: [NUCLEO-L476RG] Configure SDMMC peripheral

Did you try to mound SD card in SPI mode? I'm trying right now and I'm getting OSError: timeout waiting for response