This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于DSP2812例程BLDC3_1中BUILDLEVEL与LEVEL1~3的问题



感谢各位大佬的无私帮助,感激不尽!!!我的问题如下:

BLDC3_1主程序中有#if (BUILDLEVEL==LEVEL1)

                                 #if (BUILDLEVEL==LEVEL2)

                                 #if (BUILDLEVEL==LEVEL3)折三个选项,根据注释LEVEL1~3分别是基于霍尔传感器的闭环运动、电流闭环以及速度闭环。

         我的理解是这三种情况只能选一种使用,不知道我的理解有没有错,还是这三种都会运行。

         所以我的疑问是能否把这三个功能都使用上,谢谢各位大佬的帮助!!!