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

WaveRP Library with current SdFat #2

Open
cmt227 opened this issue Oct 18, 2018 · 0 comments
Open

WaveRP Library with current SdFat #2

cmt227 opened this issue Oct 18, 2018 · 0 comments

Comments

@cmt227
Copy link

cmt227 commented Oct 18, 2018

Hi Bastl Instruments!

I'm trying to build the MG2 from scratch. I ordered all the parts and took your schematics and made my own PCB and assembled it, and I'm trying to now get the software working.

Of course there are a few hardware aspects that are a little different on my board, such as the RGB being common cathode instead of anode, and I successfully hacked the mg2HW class to get my LEDs, buttons, and display working nicely.

I've run into an issue with the waveRP library though. It seems that the most current version of waveRP has no way of getting the Sd2Card pointer from the SdBaseFile pointer that is passed to the WaveRP::play() and other methods. I've successfully initialized the SD card and the root directory, but when I hit a big button to play a sample the MG crashes and either reboots or doesn't respond.

Do you have any suggestions? I am willing to do some hacking in the WaveRP files if you can give me some direction, or maybe you can provide me with compatible SdFat library (the one that you guys use).

Thanks so much!

-Carsten

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