Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino

This commit is contained in:
hathach committed 2017-03-15 01:58:18 +07:00
commit a67a87aaea
1 file changed
+4 -11
+4 -11
View File
@@ -46,10 +46,10 @@ void setup()
// Advertise device name in the Scan Response
Bluefruit.ScanResponse.addName();
// Start Advertising
Bluefruit.Advertising.start();
}
void handleNoteOn(byte channel, byte pitch, byte velocity)
@@ -66,14 +66,7 @@ void handleNoteOff(byte channel, byte pitch, byte velocity)
Serial.println(off_count, DEC);
}
void loop() {
if(Serial.available()) {
Serial.read();
off_count = 0;
on_count = 0;
Serial.println("Test reset.");
}
void loop()
{
MIDI.read();
}