Commit c124db94 authored by Pila's avatar Pila

Reduced to 1s the first note delay

parent ebb1e42b
Pipeline #600875 skipped
......@@ -15,7 +15,7 @@ typedef struct {
unsigned int note;
} noteStruct;
noteStruct noteArray0[] = {{3763,0},{250,67},{249,66},{250,64},{251,64},{249,66},{2496,0},{250,62},{247,67},{1,0},{251,66},{249,64},{251,64},{249,66},{748,0},{248,62},{270,0},{233,64},{382,57},{1613,0},{250,59},{498,64},{249,66},{252,67},{498,0},{250,64},{250,61},{250,0},{498,62},{748,64},{251,57},{250,57},{281,0},{499,66},{2247,0},{249,67},{248,66},{250,64},{249,64},{250,66},{2497,0},{251,62},{248,67},{250,66},{248,64},{253,64},{497,0},{250,66},{250,62},{501,0},{248,64},{250,57},{1995,0},{500,64},{248,66},{252,67},{498,0},{249,64},{251,61},{499,0},{249,62},{498,64},{250,57},{250,62},{251,64},{248,65},{250,64},{250,62},{248,60},{498,0},{253,57},{250,58},{499,60},{510,65},{238,64},{250,62},{284,62},{249,60},{251,62},{246,60},{1,0},{500,60},{498,60},{248,57},{249,58},{499,60},{503,65},{246,67},{251,65},{249,64},{1,0},{250,62},{271,62},{228,64},{498,65},{500,65},{249,67},{250,69},{250,70},{247,70},{500,69},{499,67},{253,65},{249,67},{248,69},{251,69},{500,67},{497,65},{249,62},{306,60},{207,62},{239,64},{246,65},{501,64},{250,65},{248,66},{252,66},{6766,0},{250,57},{254,67},{245,66},{252,64},{251,64},{498,66},{2497,0},{254,67},{245,66},{253,64},{247,64},{496,0},{250,66},{499,62},{501,64},{251,57},{1996,0},{498,64},{249,66},{251,67},{498,0},{249,64},{251,61},{498,0},{250,62},{749,64},{250,57},{249,57},{249,0},{752,66},{1744,0},{257,64},{244,71},{250,69},{248,67},{252,67},{247,69},{2527,0},{251,64},{250,71},{249,69},{260,67},{238,67},{500,0},{248,69},{254,66},{496,0},{250,67},{251,64},{1996,0},{498,64},{254,66},{768,67},{475,64},{500,61},{251,62},{497,64},{249,57},{250,62},{262,64},{257,65},{229,64},{251,62},{250,60},{499,0},{250,57},{250,58},{502,60},{497,65},{250,64},{250,62},{249,62},{250,60},{249,62},{250,60},{500,60},{499,60},{248,57},{250,58},{500,60},{498,65},{250,67},{249,65},{249,64},{1,0},{249,62},{249,62},{249,64},{503,65},{496,65},{280,67},{249,69},{253,70},{250,70},{500,69},{498,67},{248,65},{252,67},{250,69},{250,69},{248,67},{254,65},{496,65},{246,62},{254,60},{247,62},{248,64},{250,65},{501,64},{249,65},{250,66},{250,66},{6990,0},{247,67},{253,66},{246,64},{252,64},{497,66},{2246,0},{251,57},{247,67},{251,66},{250,64},{253,64},{495,0},{250,66},{251,62},{527,0},{251,64},{250,57},{1998,0},{499,64},{249,66},{749,67},{500,64},{498,61},{252,62},{745,64},{251,57},{251,57},{249,0},{749,66},{1996,0},{251,71},{248,69},{251,67},{251,67},{248,0},{749,69},{1998,0},{246,71},{253,69},{250,67},{249,67},{496,0},{256,69},{246,66},{498,0},{251,67},{248,64},{2019,0},{476,64},{280,66},{751,67},{501,64},{498,61},{250,62},{498,64},{250,57},{250,62},{250,64},{247,65},{251,64},{249,62},{252,60},{497,0},{249,57},{253,58},{498,60},{501,65},{247,64},{250,62},{254,62},{246,60},{249,62},{249,60},{500,60},{499,60},{250,57},{250,58},{496,60},{501,65},{253,67},{259,65},{249,64},{241,62},{246,62},{251,64},{500,65},{499,65},{248,67},{251,69},{246,70},{253,70},{247,69},{250,67},{501,67},{253,65},{247,67},{249,69},{250,69},{246,67},{254,65},{499,65},{247,62},{251,60},{249,62},{251,64},{247,65},{499,64},{250,65},{249,66},{253,66},{1527,0},{249,69},{251,69},{250,71},{248,69},{249,66},{499,62},{249,64},{250,66},{263,66},{1234,0},{251,69},{249,69},{249,69},{252,71},{249,69},{250,66},{501,62},{247,64},{249,66},{252,66},{1246,0},{250,69},{249,69},{249,69},{250,71},{250,69},{250,66},{500,62},{247,64},{250,66},{255,66},{1493,0},{249,69},{252,69},{248,71},{250,69},{250,66},{499,62},{249,64},{249,66},{253,66},{1245,0},{250,69},{250,69},{251,69},{248,71},{248,69},{251,66},{498,62},{275,64},{233,66},{244,66},{1276,0},{251,67},{251,69},{250,69},{1248,0},{247,67},{249,66},{251,66},{47,0}};
noteStruct noteArray0[] = {{1000,0},{250,67},{249,66},{250,64},{251,64},{249,66},{2496,0},{250,62},{247,67},{1,0},{251,66},{249,64},{251,64},{249,66},{748,0},{248,62},{270,0},{233,64},{382,57},{1613,0},{250,59},{498,64},{249,66},{252,67},{498,0},{250,64},{250,61},{250,0},{498,62},{748,64},{251,57},{250,57},{281,0},{499,66},{2247,0},{249,67},{248,66},{250,64},{249,64},{250,66},{2497,0},{251,62},{248,67},{250,66},{248,64},{253,64},{497,0},{250,66},{250,62},{501,0},{248,64},{250,57},{1995,0},{500,64},{248,66},{252,67},{498,0},{249,64},{251,61},{499,0},{249,62},{498,64},{250,57},{250,62},{251,64},{248,65},{250,64},{250,62},{248,60},{498,0},{253,57},{250,58},{499,60},{510,65},{238,64},{250,62},{284,62},{249,60},{251,62},{246,60},{1,0},{500,60},{498,60},{248,57},{249,58},{499,60},{503,65},{246,67},{251,65},{249,64},{1,0},{250,62},{271,62},{228,64},{498,65},{500,65},{249,67},{250,69},{250,70},{247,70},{500,69},{499,67},{253,65},{249,67},{248,69},{251,69},{500,67},{497,65},{249,62},{306,60},{207,62},{239,64},{246,65},{501,64},{250,65},{248,66},{252,66},{6766,0},{250,57},{254,67},{245,66},{252,64},{251,64},{498,66},{2497,0},{254,67},{245,66},{253,64},{247,64},{496,0},{250,66},{499,62},{501,64},{251,57},{1996,0},{498,64},{249,66},{251,67},{498,0},{249,64},{251,61},{498,0},{250,62},{749,64},{250,57},{249,57},{249,0},{752,66},{1744,0},{257,64},{244,71},{250,69},{248,67},{252,67},{247,69},{2527,0},{251,64},{250,71},{249,69},{260,67},{238,67},{500,0},{248,69},{254,66},{496,0},{250,67},{251,64},{1996,0},{498,64},{254,66},{768,67},{475,64},{500,61},{251,62},{497,64},{249,57},{250,62},{262,64},{257,65},{229,64},{251,62},{250,60},{499,0},{250,57},{250,58},{502,60},{497,65},{250,64},{250,62},{249,62},{250,60},{249,62},{250,60},{500,60},{499,60},{248,57},{250,58},{500,60},{498,65},{250,67},{249,65},{249,64},{1,0},{249,62},{249,62},{249,64},{503,65},{496,65},{280,67},{249,69},{253,70},{250,70},{500,69},{498,67},{248,65},{252,67},{250,69},{250,69},{248,67},{254,65},{496,65},{246,62},{254,60},{247,62},{248,64},{250,65},{501,64},{249,65},{250,66},{250,66},{6990,0},{247,67},{253,66},{246,64},{252,64},{497,66},{2246,0},{251,57},{247,67},{251,66},{250,64},{253,64},{495,0},{250,66},{251,62},{527,0},{251,64},{250,57},{1998,0},{499,64},{249,66},{749,67},{500,64},{498,61},{252,62},{745,64},{251,57},{251,57},{249,0},{749,66},{1996,0},{251,71},{248,69},{251,67},{251,67},{248,0},{749,69},{1998,0},{246,71},{253,69},{250,67},{249,67},{496,0},{256,69},{246,66},{498,0},{251,67},{248,64},{2019,0},{476,64},{280,66},{751,67},{501,64},{498,61},{250,62},{498,64},{250,57},{250,62},{250,64},{247,65},{251,64},{249,62},{252,60},{497,0},{249,57},{253,58},{498,60},{501,65},{247,64},{250,62},{254,62},{246,60},{249,62},{249,60},{500,60},{499,60},{250,57},{250,58},{496,60},{501,65},{253,67},{259,65},{249,64},{241,62},{246,62},{251,64},{500,65},{499,65},{248,67},{251,69},{246,70},{253,70},{247,69},{250,67},{501,67},{253,65},{247,67},{249,69},{250,69},{246,67},{254,65},{499,65},{247,62},{251,60},{249,62},{251,64},{247,65},{499,64},{250,65},{249,66},{253,66},{1527,0},{249,69},{251,69},{250,71},{248,69},{249,66},{499,62},{249,64},{250,66},{263,66},{1234,0},{251,69},{249,69},{249,69},{252,71},{249,69},{250,66},{501,62},{247,64},{249,66},{252,66},{1246,0},{250,69},{249,69},{249,69},{250,71},{250,69},{250,66},{500,62},{247,64},{250,66},{255,66},{1493,0},{249,69},{252,69},{248,71},{250,69},{250,66},{499,62},{249,64},{249,66},{253,66},{1245,0},{250,69},{250,69},{251,69},{248,71},{248,69},{251,66},{498,62},{275,64},{233,66},{244,66},{1276,0},{251,67},{251,69},{250,69},{1248,0},{247,67},{249,66},{251,66},{47,0}};
void delay_ms(unsigned int ms){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment