File tree Expand file tree Collapse file tree 4 files changed +30
-9
lines changed Expand file tree Collapse file tree 4 files changed +30
-9
lines changed Original file line number Diff line number Diff line change 22 * Modified version of the original OOB hex to support V2
33 */
44
5+ #include " OOB.h"
56#include " MicroBit.h"
67#include " Tests.h"
78#include < cmath>
Original file line number Diff line number Diff line change 1+ /**
2+ * (c) 2020-2023 Lancaster University
3+ * (c) 2020-2025 Micro:bit Educational Foundation
4+ *
5+ * SPDX-License-Identifier: MIT
6+ */
7+ #ifndef MB_OOB_H
8+ #define MB_OOB_H
9+
10+ #include "MicroBit.h"
11+
12+ #ifndef MB_OOB_VERSION
13+ #define MB_OOB_VERSION "3.0.1"
14+ #endif
15+
16+ extern MicroBit uBit ;
17+
18+ void out_of_box_experience_v2 ();
19+ void out_of_box_experience ();
20+
21+ #endif // MB_OOB_H
Original file line number Diff line number Diff line change 1+ /* *
2+ * (c) 2020-2023 Lancaster University
3+ * (c) 2020-2025 Micro:bit Educational Foundation
4+ *
5+ * SPDX-License-Identifier: MIT
6+ */
7+ #include " OOB.h"
18#include " MicroBit.h"
29#include " Synthesizer.h"
310#include " StreamRecording.h"
411#include " LowPassFilter.h"
5- #include " Tests.h"
612
713const char * const heart =
814 " 000,255,000,255,000\n "
Original file line number Diff line number Diff line change 11#include "MicroBit.h"
22#include "CodalDmesg.h"
3+ #include "OOB.h"
34
45#ifndef MB_NEXT_TESTS_H
56#define MB_NEXT_TESTS_H
67
7- #define MICROBIT_UBIT_AS_STATIC_OBJECT
8-
9- #ifdef MICROBIT_UBIT_AS_STATIC_OBJECT
108extern MicroBit uBit ;
11- #else
12- extern MicroBit & uBit ;
13- #endif
149
1510void blinky ();
1611void button_test1 ();
@@ -93,8 +88,6 @@ void mixer_test2();
9388void speaker_pin_test ();
9489void say_hello ();
9590void stream_mixer_to_serial ();
96- void out_of_box_experience_v2 ();
97- void out_of_box_experience ();
9891void level_meter ();
9992void init_clap_detect ();
10093void ble_test ();
You can’t perform that action at this time.
0 commit comments