cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS? Motor to brake within 200ms upon button pressed

HMSEdinburge
Associate II

HI I m implementing a project using H753 to control a DC motor via a H bridge motor driver, which can stop motor by pull high both AN1 and AN2 pins,  i m required to brake within 200m sec, can anyone advise how accomplished this?

using FreeRTOS task or Semaphore or osDelay(200) ?

1 REPLY 1
HMSEdinburge
Associate II

to add: i m required to brake e motor within 200m sec with a button pressed, i m sure osDelay(200) would never work anyone can advise?