#include "stm32f4xx_hal.h"
#define SINE_TABLE_SIZE 256
const uint16_t sineTable[SINE_TABLE_SIZE] = {
// 正弦查找表值
2048, 2098, 2148, 2198, 2248, 2298, 2348, 2397, 2447, 2496, 2545, 2594, 2642, 2691, 2738, 2786,
2833, 2880, 2926, 2972, 3018, 3063, 3108, 3152, 3195, 3238, 3281, 3323, 3364, 3405, 3445, 3484,
3523, 3561, 3598, 3635, 3671, 3706, 3740, 3773, 3806, 3837, 3868, 3898, 3927, 3955, 3982, 4008,
4033, 4057, 4080, 4102, 4123, 4143, 4161, 4179, 4195, 4210, 4224, 4237, 4249, 4259, 4269, 4277,
4283, 4289, 4293, 4296, 4298, 4299, 4299, 4298, 4296, 4293, 4289, 4283, 4277, 4269, 4259, 4249,
4237, 4224, 4210, 4195, 4179, 4161, 4143, 4123, 4102, 4080, 4057,
|