Actually i have done some research and found some of the codes for using the servo.h library and controlling the pwm for throttle
But nothing for putting a speed limit to it and also alot of them deal with small bldc motors (drones etc)
Can it be handled by using an if statement like if speed (from hall sensor) is greater than or eual to speed limit cut off the throttle
Pls help