Search found 2 matches

by GizmoGear
Fri Mar 04, 2022 10:10 pm
Forum: Other Boards
Topic: STM32 NUCLEO F767ZI PWM
Replies: 2
Views: 6692

Re: STM32 NUCLEO F767ZI PWM

Thank you very much, Asensio12! With your help, I was able to get PWM working! I've noticed that any pin that is tied to a particular timer/channel pair initialize when that command is executed. For example: timer2 = pyb.Timer(2, freq=1000) ch1 = timer2.channel(1, pyb.Timer.PWM, pin=pyb.Pin.board.D1...
by GizmoGear
Thu Feb 03, 2022 7:15 pm
Forum: Other Boards
Topic: STM32 NUCLEO F767ZI PWM
Replies: 2
Views: 6692

STM32 NUCLEO F767ZI PWM

I'm currently attempting to drive a servo motor using a STM32 NUCLEO F767ZI. According to the Micropython docs, there should be a PWM class within the machine module. I've even seen mention of a Servo class under the pyb module. By running dir(machine) and dir(pyb), I don't seem to have either on my...