-
Notifications
You must be signed in to change notification settings - Fork 4
/
sharedFun.h
123 lines (115 loc) · 1.84 KB
/
sharedFun.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#ifndef SHAREDFUN_H
#define SHAREDFUN_H
#include "Shared.h"
/************************************************************************/
/************************************************************************/
void Func121(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_3);
}
void Func122(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_4);
}
void Func123(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_5);
}
/*****************************/
void Func111(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func121();
}
void Func112(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_2);
Func122();
}
void Func11(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func111();
Func112();
Func123();
}
void Func12(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func121();
Func122();
Func123();
}
void Func131(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_6);
}
void Func132(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_7);
}
void Func13(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func131();
Func132();
}
void Func211(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
}
void Func212(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_2);
}
void Func21(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func211();
Func212();
}
void Func221(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_3);
}
void Func222(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_4);
}
void Func22(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func221();
Func222();
}
void Func311(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_5);
}
void Func312(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_6);
}
void Func31(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func311();
Func312();
}
void Func321(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
led_blink(OSEE_TRIBOARD_2X5_LED_7);
}
void Func322(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
led_blink(OSEE_TRIBOARD_2X5_LED_8);
}
void Func32(void)
{
led_blink(OSEE_TRIBOARD_2X5_LED_1);
Func321();
Func322();
}
#endif /* SHAREDFUN_H */