Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Generate sine wave
no vote
#include #include #define uint unsigned int#define uchar unsigned charuint j=0;uint Tccr0=799;uchar sindata[200]={ 127,131,135,139,143,147,151,155,159,162,166,170,174,177,181,185,188,192,195,198,202,205,208,211,214,217,220,222,225,227,230,232,234,236,238,240,242,244,245,246,248,249,250,251,252,252,253,253,254,254,254,254,254,253,253,252,252, 251,250,249,248,246,245,244,242,240,238,236,234,232,230,227,225,222,220,217,214,211,208,205,202,198,195,192,188,185,181,177,174,170,166,162,159,155,151,147,143,139,135,131,127,123,119,115,111,107,103, 99, 95, 92, 88, 84, 80, 77, 73, 69, 66, 62, 59, 56, 52, 49, 46, 43, 40, 37, 34, 32, 29, 27, 24, 22, 20, 18, 16, 14, 12, 10,  9,  8,   6,  5,  4,  3,  2,  2,  1,  1,  0,  0,  0,  0,  0,  1,  1,  2,  2,  3,  4,  5, &nb
lzx54945
2018-01-18
0
1
No more~