diff options
| author | Damien George | 2020-02-27 15:36:53 +1100 |
|---|---|---|
| committer | Damien George | 2020-02-28 10:33:03 +1100 |
| commit | 69661f3343bedf86e514337cff63d96cc42f8859 (patch) | |
| tree | af5dfb380ffdb75dda84828f63cf9d840d992f0f /ports/nrf/examples/musictest.py | |
| parent | 3f39d18c2b884d32f0443e2e8114ff9d7a14d718 (diff) | |
all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
Diffstat (limited to 'ports/nrf/examples/musictest.py')
| -rw-r--r-- | ports/nrf/examples/musictest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/nrf/examples/musictest.py b/ports/nrf/examples/musictest.py index 46276d3ef..8f4523877 100644 --- a/ports/nrf/examples/musictest.py +++ b/ports/nrf/examples/musictest.py @@ -1,4 +1,4 @@ -# +# # Example usage where "P3" is the Buzzer pin. # # from musictest import play @@ -8,6 +8,7 @@ from machine import Pin import music + def play(pin_str): p = Pin(pin_str, mode=Pin.OUT) music.play(music.PRELUDE, pin=p) |
