Star Wars Returns
This commit is contained in:
parent
4041ad4032
commit
64255d5fc7
|
@ -72,25 +72,26 @@ void IoDoTone(uint tone, uint time)
|
||||||
|
|
||||||
void IoDoStarWars(void)
|
void IoDoStarWars(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
struct Note {
|
struct Note {
|
||||||
uint tone;
|
uint tone;
|
||||||
uint time;
|
uint time;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Note Score[36] = { {440, 200}, {110, 200}, {440, 200}, {110, 200},
|
struct Note Score[40] = { {440, 200}, {110, 200}, {440, 200}, {110, 200},
|
||||||
{440, 200}, {110, 200}, {349, 140}, {110, 100},
|
{440, 200}, {110, 200}, {349, 140}, {87, 100},
|
||||||
{523, 60}, {110, 100}, {440, 200}, {110, 200},
|
{523, 60}, {87, 100}, {440, 200}, {110, 200},
|
||||||
{349, 140}, {110, 100}, {523, 60}, {110, 100},
|
{349, 140}, {87, 100}, {523, 60}, {87, 100},
|
||||||
{440, 200}, {110, 200},
|
{440, 200}, {110, 200}, {440, 200}, {110, 200},
|
||||||
|
|
||||||
{659, 200}, {110, 200}, {659, 200}, {110, 200},
|
{659, 200}, {110, 200}, {659, 200}, {110, 200},
|
||||||
{659, 200}, {110, 200}, {698, 140}, {110, 100},
|
{659, 200}, {87, 200}, {698, 140}, {87, 100},
|
||||||
{523, 60}, {110, 100}, {415, 200}, {110, 200},
|
{523, 60}, {87, 100}, {415, 200}, {87, 200},
|
||||||
{349, 140}, {110, 100}, {523, 60}, {110, 100},
|
{349, 140}, {87, 100}, {523, 60}, {87, 100},
|
||||||
{440, 200}, {110, 200}
|
{440, 200}, {110, 200}, {110, 200}, {110, 200}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
for (int i=0; i<36 ; i++) {
|
for (int i=0; i<40 ; i++) {
|
||||||
IoDoTone(Score[i].tone, Score[i].time);
|
IoDoTone(Score[i].tone, Score[i].time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue