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

I need help #12

Open
DRCRecoveryData opened this issue May 23, 2024 · 4 comments
Open

I need help #12

DRCRecoveryData opened this issue May 23, 2024 · 4 comments

Comments

@DRCRecoveryData
Copy link

Hi,

How config leds to show animation like this when press buttons:

https://youtu.be/3QnzLwpbpRE?si=uAweJyFWsB0KYP-8

@DRCRecoveryData
Copy link
Author

bait link dont click

main channel youtube link of owner are you serious?

@alrevuelta
Copy link
Member

This example might be useful for the animations you are asking for. See doFunnyAnimation. By using mdm.setInterrupt(doFunnyAnimation, 0.025); you are doing the provided animation every .025 sec.

Note that this example is meant for devices with 4x16 buttons. If yours has 4x4, you would need just to change a couple of lines, see below. You can use this example as reference mixed with the other one.

BoardRoles bRoles[1] = {TOUCHPAD};
MiDispositivoMIDI_V3 mdm = MiDispositivoMIDI_V3(SINGLE_DEVICE_4X4, bRoles);

@DRCRecoveryData
Copy link
Author

This example might be useful for the animations you are asking for. See doFunnyAnimation. By using mdm.setInterrupt(doFunnyAnimation, 0.025); you are doing the provided animation every .025 sec.

Note that this example is meant for devices with 4x16 buttons. If yours has 4x4, you would need just to change a couple of lines, see below. You can use this example as reference mixed with the other one.


BoardRoles bRoles[1] = {TOUCHPAD};

MiDispositivoMIDI_V3 mdm = MiDispositivoMIDI_V3(SINGLE_DEVICE_4X4, bRoles);

I have made script for 8x8 in here:

https://github.com/DRCRecoveryData/mf64-promicro/blob/main/8x8_leds.ino

@DRCRecoveryData
Copy link
Author

This example might be useful for the animations you are asking for. See doFunnyAnimation. By using mdm.setInterrupt(doFunnyAnimation, 0.025); you are doing the provided animation every .025 sec.

Note that this example is meant for devices with 4x16 buttons. If yours has 4x4, you would need just to change a couple of lines, see below. You can use this example as reference mixed with the other one.

BoardRoles bRoles[1] = {TOUCHPAD};
MiDispositivoMIDI_V3 mdm = MiDispositivoMIDI_V3(SINGLE_DEVICE_4X4, bRoles);

Can i use sanwa arcade by your touchpad cose?

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

2 participants