File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ build_flags =
26
26
lib_deps =
27
27
${env.lib_deps}
28
28
# upload_protocol = teensy-cli
29
- # upload_port = /dev/actuator
29
+ upload_port = /dev/actuator
30
30
31
31
[env:display]
32
32
platform = teensy
@@ -36,9 +36,11 @@ build_flags =
36
36
-D DISPLAY_H
37
37
${env.build_flags}
38
38
lib_deps =
39
+ Wire
40
+ https://github.com/bluerobotics/BlueRobotics_MS5837_Library
39
41
${env.lib_deps}
40
42
# upload_protocol = teensy-cli
41
- # upload_port = /dev/display
43
+ upload_port = /dev/display
42
44
43
45
[env:power]
44
46
platform = teensy
@@ -50,4 +52,4 @@ build_flags =
50
52
lib_deps =
51
53
${env.lib_deps}
52
54
# upload_protocol = teensy-cli
53
- # upload_port = /dev/power
55
+ upload_port = /dev/power
Original file line number Diff line number Diff line change 10
10
11
11
void setup () {
12
12
#ifdef ACTUATOR_H
13
- actuator_setup ();
13
+ actuator_setup ();
14
14
#elif DISPLAY_H
15
- display_setup ();
15
+ display_setup ();
16
16
#elif POWER_H
17
- power_setup ();
17
+ power_setup ();
18
18
#endif
19
19
}
20
20
21
21
void loop () {
22
22
#ifdef ACTUATOR_H
23
- actuator_loop ();
23
+ actuator_loop ();
24
24
#elif DISPLAY_H
25
- display_loop ();
25
+ display_loop ();
26
26
#elif POWER_H
27
- power_loop ();
27
+ power_loop ();
28
28
#endif
29
29
}
You can’t perform that action at this time.
0 commit comments