electronic speed control for brushless dc electric motor (schematic + program for microcontroller + example program for test)