Comments (8)
The principle is the same for all MIDI elements, you just pass them a pin number.
If the pin is a real Arduino pin, the pin number will be 2
or A0
etc. If it's not a real Arduino pin, you get the pin number from the ExtIO device you're using, e.g. mux.pin(0)
.
See this example: https://tttapa.github.io/Control-Surface/Doc/Doxygen/d8/d59/1_8First-Output_8ino-example.html.
And adapt it to use CCButton
instead of CCPotentiometer
.
If you specify pin 2 as the first argument to the CD74HC4067
constructor, then it expects the signal pin to be connected to pin 2.
from control-surface.
I have downloaded your library again. I opened the sketch "First-Output" when I check it for errors I've got an error:
Why it tells me about file with Led if I even didn't use any leds?
I have also checked the code from your link, same error appears
from control-surface.
Ah, I see, my bad, I added a dependency on the FastLED library, and it seems like I try including it even when it's not installed.
I'll fix it in a moment.
from control-surface.
Please, leave a message when you fix it. Thanx!
from control-surface.
In the meantime, you can just install the FastLED library using the library manager, and it should work again.
from control-surface.
Yes, it works. Just leave a message when you fix this bug. I always want to have new version of library without any bugs:)
from control-surface.
It should work now.
from control-surface.
It worx, thank you!
from control-surface.
Related Issues (20)
- Bankable::ManyAddresses::CCAbsoluteEncoder HOT 2
- Time Display does not work.
- Does it's support ESP32-S3/C3 via USB port? HOT 7
- How to use 1 shift button to change bank:
- The sketch compiles, but doesn't work HOT 3
- Error when compiling for ESP32 S3 HOT 3
- Metronome Led HOT 3
- BANKS WITH MULTIPLE BUTTON FUNCTION HOT 1
- Using Control Surface with Teensy 4.1 board HOT 3
- BTstackBackgroundBackend connection issue HOT 6
- Map on Filtered Analog HOT 3
- Setting CCPotentiometer range HOT 3
- Switching presets Roland FP-30X HOT 2
- TYPO IN DOCUMENTATION HOT 1
- Error running on M1 Mac Sonoma with Teensy 4.0 HOT 4
- Arduino Nano 33 BLE Support? HOT 3
- Пример CCIncrementDecrementButtons.ino HOT 10
- Select bank HOT 2
- MIDI-монитор-OLED HOT 3
- Arduino Giga R1 Wifi support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from control-surface.