/*
************ 利用串口输出1024点的正弦波数组 ************
#include "math.h"
uint16_t i = 0; double x, y;
for(i=0; i < 1280; i++)
{
if( (i != 0) && (i % 16) == 0) { printf("nr"); }
x = (double)0.00613592315154256491887235035797 * (double)i;
y = (double)sin(x) * (double)16384.0; //16384编码器一周脉冲数
if(y > (double)0)
{
y = (int32_t)((double)y + (double)0.5);
}
else if(y < (double)0)
{
y = (int32_t)((double)y - (double)0.5);
}
printf("%d,",(int32_t)y);
}
*/
步进电机厂家发来的示例程序,但是不知道0.00613592315154256491887235035797 是怎么来的,请高手解读。