diff --git a/examples/XiaoUsbMasterMidiClock/XiaoUsbMasterMidiClock.ino b/examples/XiaoUsbMasterMidiClock/XiaoUsbMasterMidiClock.ino index 1c8515d..2bcd0f4 100644 --- a/examples/XiaoUsbMasterMidiClock/XiaoUsbMasterMidiClock.ino +++ b/examples/XiaoUsbMasterMidiClock/XiaoUsbMasterMidiClock.ino @@ -4,6 +4,9 @@ * device name on Seeedstudio XIAO M0. * * This example code is in the public domain. + * + * Tested with Adafruit TinyUSB version 0.10.5 + * */ #include #include @@ -19,13 +22,13 @@ void handle_bpm_led(uint32_t tick) { // BPM led indicator if ( !(tick % (96)) || (tick == 1) ) { // first compass step will flash longer - bpm_blink_timer = 4; - digitalWrite(LED_BUILTIN, HIGH); + bpm_blink_timer = 8; + digitalWrite(LED_BUILTIN, LOW); } else if ( !(tick % (24)) ) { // each quarter led on bpm_blink_timer = 1; - digitalWrite(LED_BUILTIN, HIGH); - } else if ( !(tick % bpm_blink_timer) ) { // get led off digitalWrite(LED_BUILTIN, LOW); + } else if ( !(tick % bpm_blink_timer) ) { // get led off + digitalWrite(LED_BUILTIN, HIGH); } } diff --git a/library.properties b/library.properties index 310f3c8..3189653 100755 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=uClock -version=1.1.0 +version=1.1.2 author=Romulo Silva maintainer=Romulo Silva sentence=BPM clock generator for Arduino and Teensy boards