Coder Social home page Coder Social logo

Comments (8)

tttapa avatar tttapa commented on July 20, 2024

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.

kentforth avatar kentforth commented on July 20, 2024

I have downloaded your library again. I opened the sketch "First-Output" when I check it for errors I've got an error:

Screenshot_1

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.

tttapa avatar tttapa commented on July 20, 2024

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.

kentforth avatar kentforth commented on July 20, 2024

Please, leave a message when you fix it. Thanx!

from control-surface.

tttapa avatar tttapa commented on July 20, 2024

In the meantime, you can just install the FastLED library using the library manager, and it should work again.

from control-surface.

kentforth avatar kentforth commented on July 20, 2024

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.

tttapa avatar tttapa commented on July 20, 2024

It should work now.

from control-surface.

kentforth avatar kentforth commented on July 20, 2024

It worx, thank you!

from control-surface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.