Comments (5)
If I understood correctly, you would like to change the colour intensity of the RGB leds? If so, please have a look to this example. The intensity is a value from 0 to 255, so if you set 100, it will be less brighter. First element in the array is R, second G and third B.
void setup() {
// Configure the colors when the LED is not pressed
uint8_t offColors[3] = {255, 0, 0};
mdm.setOffColors( offColors );
// Configure the colors when the LED is pressed
uint8_t onColors[3] = {0, 255, 0};
mdm.setOnColors( onColors );
}
from midispositivomidi_v3.
If I understood correctly, you would like to change the colour intensity of the RGB leds? If so, please have a look to this example. The intensity is a value from 0 to 255, so if you set 100, it will be less brighter. First element in the array is R, second G and third B.
void setup() { // Configure the colors when the LED is not pressed uint8_t offColors[3] = {255, 0, 0}; mdm.setOffColors( offColors ); // Configure the colors when the LED is pressed uint8_t onColors[3] = {0, 255, 0}; mdm.setOnColors( onColors ); }
Is that possible to adding more color than 3 color basic?
I just test with this library but the led not bright with button push
https://github.com/tttapa/Control-Surface/blob/master/examples/2.%20MIDI%20Input/1.%20LEDs/10.Note-FastLED-ColorMapper/10.Note-FastLED-ColorMapper.ino
from midispositivomidi_v3.
Regarding your first question "Is that possible to adding more color than 3 color basic?" Yes, it is possible, you can do something like {100, 25, 200}
and you will be mixing some red with a bit of green and a lot of blue.
If you load the code that I mentioned above, you should be able to see the colours that you have configured. I assume that you have a MIDI receiver open in the computer. Let me know if it doesn't work for you, but please, state your problem with providing more details.
from midispositivomidi_v3.
I need the schematic before made the pcb of this example:
, can you define the pinout to me of cd4067 and matrix, led, I use the diy 4x4 button matrix pad and 4x4 ws2812b, thank you!
from midispositivomidi_v3.
All the documentation can be found in this repo. For pinout refer either to the Wiki or the pcb schematics here
Since your initial question was already answered, I'm closing this.
from midispositivomidi_v3.
Related Issues (2)
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 midispositivomidi_v3.