1 #include "buzzer_disabled.h"
3 void Ring_BEE_ONCE(uint16_t music_note
) {
5 SpinDelayUs(music_note
);
7 SpinDelayUs(music_note
);
10 void ring_2_7khz(uint16_t count
) {
11 Ring_BEE_TIME(n_2_7khz
, count
);
14 void Ring_BEE_TIME(uint16_t music_note
, uint16_t count
) {
15 for (uint16_t i
= 0 ; i
< count
; i
++)
16 Ring_BEE_ONCE(music_note
);
20 void Ring_ALL(uint16_t count
) {
21 Ring_BEE_TIME(note_1
, count
);
22 Ring_BEE_TIME(note_2
, count
);
23 Ring_BEE_TIME(note_3
, count
);
24 Ring_BEE_TIME(note_4
, count
);
25 Ring_BEE_TIME(note_5
, count
);
26 Ring_BEE_TIME(note_6
, count
);
27 Ring_BEE_TIME(note_7
, count
);
31 void Ring_Little_Star(uint16_t count
) {
32 Ring_BEE_TIME(note_1
, count
);
33 Ring_BEE_TIME(note_1
, count
);
34 Ring_BEE_TIME(note_5
, count
);
35 Ring_BEE_TIME(note_5
, count
);
36 Ring_BEE_TIME(note_6
, count
);
37 Ring_BEE_TIME(note_6
, count
);
38 Ring_BEE_TIME(note_5
, 2 * count
);
41 Ring_BEE_TIME(note_4,count);
42 Ring_BEE_TIME(note_4,count);
43 Ring_BEE_TIME(note_3,count);
44 Ring_BEE_TIME(note_3,count);
45 Ring_BEE_TIME(note_2,count);
46 Ring_BEE_TIME(note_2,count);
47 Ring_BEE_TIME(note_1,2*count);
50 Ring_BEE_TIME(note_5,count);
51 Ring_BEE_TIME(note_5,count);
52 Ring_BEE_TIME(note_4,count);
53 Ring_BEE_TIME(note_4,count);
54 Ring_BEE_TIME(note_3,count);
55 Ring_BEE_TIME(note_3,count);
56 Ring_BEE_TIME(note_2,2*count);
59 Ring_BEE_TIME(note_5,count);
60 Ring_BEE_TIME(note_5,count);
61 Ring_BEE_TIME(note_4,count);
62 Ring_BEE_TIME(note_4,count);
63 Ring_BEE_TIME(note_3,count);
64 Ring_BEE_TIME(note_3,count);
65 Ring_BEE_TIME(note_2,2*count);
68 Ring_BEE_TIME(note_1,count);
69 Ring_BEE_TIME(note_1,count);
70 Ring_BEE_TIME(note_5,count);
71 Ring_BEE_TIME(note_5,count);
72 Ring_BEE_TIME(note_6,count);
73 Ring_BEE_TIME(note_6,count);
74 Ring_BEE_TIME(note_5,2*count);
77 Ring_BEE_TIME(note_4,count);
78 Ring_BEE_TIME(note_4,count);
79 Ring_BEE_TIME(note_3,count);
80 Ring_BEE_TIME(note_3,count);
81 Ring_BEE_TIME(note_2,count);
82 Ring_BEE_TIME(note_2,count);
83 Ring_BEE_TIME(note_1,2*count);