Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Midi example should test for FW version prior to setting callbacks. #59

Open
TrackDaddy5 opened this issue Apr 22, 2021 · 1 comment
Open

Comments

@TrackDaddy5
Copy link

TrackDaddy5 commented Apr 22, 2021

  • Arduino board: Mega 2560

  • Arduino IDE version (found in Arduino -> About Arduino menu): PlatformIO - Visual Studio Code

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too): LIST REPRO STEPS BELOW

I have firmware version 0.6.7 on my BlueFruitLE. The callbacks in the MIDI example fails due the wrong FW version.

Putting this code prior to the callbacks would help for those debugging issues.

  if ( !ble.isVersionAtLeast(MINIMUM_FIRMWARE_VERSION) )
  {
    error( F("Callback requires at least 0.7.0") );
  }
@TrackDaddy5
Copy link
Author

I've upgraded to 0.8.1 and everything runs great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant