You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,14 +181,14 @@ Install via Library Manager (search `midi2`, click Install) or manually drop the
181
181
#include<midi2.h>
182
182
```
183
183
184
-
Two example sketches under `examples/` (`BasicUsage`, `CIDiscovery`) appear in the IDE's File > Examples menu after install. Validated on Arduino UNO (AVR) and Teensy 4.1.
184
+
Two example sketches under `examples/` (`basic-usage`, `ci-discovery`) appear in the IDE's File > Examples menu after install. Validated on Arduino UNO (AVR) and Teensy 4.1.
185
185
186
186
### PlatformIO
187
187
188
188
`platformio.ini`:
189
189
190
190
```ini
191
-
lib_deps = sauloverissimo/midi2 @ ^0.5.0
191
+
lib_deps = sauloverissimo/midi2 @ ^0.6.0
192
192
```
193
193
194
194
Library Manager pulls the same `src/` modular layout via `library.json` (`srcDir = src`).
@@ -200,7 +200,7 @@ Published on the [ESP Component Registry](https://components.espressif.com/compo
200
200
```yaml
201
201
dependencies:
202
202
idf: ">=5.0"
203
-
sauloverissimo/midi2: ">=0.5.0"
203
+
sauloverissimo/midi2: ">=0.6.0"
204
204
```
205
205
206
206
`idf.py reconfigure` drops the component into `managed_components/midi2/`. The `if(ESP_PLATFORM)` gate in `CMakeLists.txt` routes ESP-IDF builds to `idf_component_register` with the modular `src/midi2_*.c` set, so the same source serves IDF, Arduino, PlatformIO, and native CMake without forks.
Pedagogical sketches and a flash-ready Zephyr hardware recipe live under [`examples/`](examples). See [`examples/README.md`](examples/README.md) for the index.
266
+
Pedagogical sketches and a flash-ready Zephyr hardware recipe live under [`examples/`](examples).
267
267
268
-
- [`examples/basic_usage.c`](examples/basic_usage.c): host C99 walkthrough of construction, dispatch, `midi2_proc` and CI Discovery.
269
-
- [`examples/BasicUsage/`](examples/BasicUsage) and [`examples/CIDiscovery/`](examples/CIDiscovery): Arduino sketches for the same surfaces, runnable on Teensy 4.x and AVR.
268
+
- [`examples/basic-usage/`](examples/basic-usage) and [`examples/ci-discovery/`](examples/ci-discovery): Arduino sketches covering UMP construction, scaling, typed dispatch, `midi2_proc`, and MIDI-CI Discovery. Runnable on Teensy 4.x and AVR.
270
269
- [`examples/rpi-pico-device-zephyr/`](examples/rpi-pico-device-zephyr): flash-ready Raspberry Pi Pico USB MIDI 2.0 device with a 14-scene UMP showcase and a MIDI-CI responder.
-**Tests:** 350 passing across 8 suites, 12 CI jobs (gcc / clang / MSVC / Apple clang / x86 32-bit / ASan + UBSan / ARM Cortex-M / Cortex-A / RISC-V / AVR / ESP32 / Zephyr native_sim) plus a CMake matrix on Linux + macOS + Windows
Copy file name to clipboardExpand all lines: docs/wiki/Integration-Guide.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ arduino-cli lib update-index
11
11
arduino-cli lib install midi2
12
12
```
13
13
14
-
In the IDE, search `midi2` in the Library Manager and click Install. Two reference sketches appear under **File > Examples > midi2**: `BasicUsage` and `CIDiscovery`. Sketch include:
14
+
In the IDE, search `midi2` in the Library Manager and click Install. Two reference sketches appear under **File > Examples > midi2**: `basic-usage` and `ci-discovery`. Sketch include:
15
15
16
16
```cpp
17
17
#include<midi2.h>
@@ -20,7 +20,7 @@ In the IDE, search `midi2` in the Library Manager and click Install. Two referen
20
20
## PlatformIO
21
21
22
22
```ini
23
-
lib_deps = sauloverissimo/midi2 @ ^0.5.0
23
+
lib_deps = sauloverissimo/midi2 @ ^0.6.0
24
24
```
25
25
26
26
The Registry resolves the modular `src/*.c` layout via `library.json` (`srcDir = src`).
@@ -32,7 +32,7 @@ The Registry resolves the modular `src/*.c` layout via `library.json` (`srcDir =
32
32
```yaml
33
33
dependencies:
34
34
idf: ">=5.0"
35
-
sauloverissimo/midi2: ">=0.5.0"
35
+
sauloverissimo/midi2: ">=0.6.0"
36
36
```
37
37
38
38
`idf.py reconfigure` drops the component into `managed_components/midi2/`. ESP-IDF picks the directory up as a regular component because the top-level `CMakeLists.txt` detects `ESP_PLATFORM` and routes to `idf_component_register` with the modular `src/midi2_*.c` set.
Copy file name to clipboardExpand all lines: examples/basic-usage/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# [midi2](../..) | BasicUsage
1
+
# [midi2](../..) | basic-usage
2
2
3
3
Arduino sketch that exercises the four core surfaces of midi2 on any Arduino-compatible board. No MIDI transport required: the sketch builds messages, parses them, and prints decoded events over `Serial`.
4
4
@@ -19,7 +19,7 @@ Arduino IDE or arduino-cli, with the midi2 library installed:
19
19
Sketch -> Include Library -> Manage Libraries -> midi2
20
20
```
21
21
22
-
Or drop a clone of this repo into `~/Arduino/libraries/midi2/`. Open `BasicUsage.ino` and Upload.
22
+
Or drop a clone of this repo into `~/Arduino/libraries/midi2/`. Open `basic-usage.ino` and Upload.
0 commit comments