test README formatting

This commit is contained in:
Todd Treece committed 2017-03-09 15:10:06 -05:00
1 parent bfb90a3998
commit f79ff182e1
1 file changed
+8 -8
+8 -8
View File
@@ -20,41 +20,41 @@ $ npm install
## RX Test
1. Upload the `rx_arduino` example to your nRF52 feather.
2. Open the serial monitor, and connect to the feather on OS X using Audio MIDI Setup.
3. Once you are connected, navigate to the `tools/midi_tests` folder and run the `rx.js` test.
* Upload the `rx_arduino` example to your nRF52 feather.
* Open the serial monitor, and connect to the feather on OS X using Audio MIDI Setup.
* Once you are connected, navigate to the `tools/midi_tests` folder and run the `rx.js` test.
```console
$ cd tools/midi_tests
$ node rx.js
```
4. The test will ask how fast you would like to send messages. The default is 100ms. Enter a number and press return.
The test will ask how fast you would like to send messages. The default is 100ms. Enter a number and press return.
```
? Send interval (ms) 100
```
5. Next, the test will ask you to select a MIDI port. Select the Bluefruit52 from the list.
Next, the test will ask you to select a MIDI port. Select the Bluefruit52 from the list.
```
? Select port Bluefruit52 Bluetooth
```
6. The test will begin sending messages at the specified interval. It will send 128 note on and 128 note off messages.
The test will begin sending messages at the specified interval. It will send 128 note on and 128 note off messages.
```
midi on [================================================================================================================================] 128/128
midi off [================================================================================================================================] 128/128
```
7. Check the Arduino Serial monitor and confirm that you have received all 128 note on and 128 note off messages.
Check the Arduino Serial monitor and confirm that you have received all 128 note on and 128 note off messages.
```
note on count: 128
note off count: 128
```
If you have, the test passed.
If you have 128 of each, the test passed.
[node]: https://nodejs.org/