2018-04-27 06:48 AM
Dear all,
would you mind to help me how to control a servo motor using STM32L475 (in a circuit and mbed program).
Thank you very much.
warmest regards,
suryadi
#servo-motor #stm32l475-discovery-board2018-04-27 07:33 AM
You want to set up one of the TIM attached pins in PWM mode, set the frequency as 50 Hz (20 ms), and have the duty set to 1.5 ms, and then have code to sweep that slowly between 1ms and 2ms
Sure there are probably mbed Servo examples, generically, search a little.