2021-05-10 07:19 AM
What is the best way and safer way to make one led blinked and, at the same time, control one motor?
2021-05-10 03:02 PM
You could set the LED on a timer pin and have it generate a PWM signal with no CPU usage. Then you can control the motor.
Pretty high-level question. The "best" approach will depend on the details. Doing multiple things at once are why RTOSs exist, if you can accept the complexity/issues that come with them.