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.
28335正弦周期表怎么调用,希望指点下
你是指用查表的方法计算正弦值吗?
不是有用查表法产生SPWM波吗,先在想问下怎么调用这个正弦表呢
你可以定义一个数组常量,例如const float Sine[512] = {......},
在使用的时候是将编码器读到的位置值换算成0~512,然后查表输出sin数组的相应值