GithubHelp home page GithubHelp logo

Comments (7)

oxesoft avatar oxesoft commented on June 20, 2024

Hi. No additional components are necessary if you use an Arduino Mega because it already have internal pull up resistors activated in line 110 with "pinMode(PEDAL_PIN, INPUT_PULLUP)". You can just connect your keyboards directly to the Arduino pins, like I did.

from keyboardscanner.

RikiForMusic avatar RikiForMusic commented on June 20, 2024

thank you very much for the answer! I have only a doubt: are there any changes to make to the code to adapt it to 88 keys? i have read "#define KEYS_NUMBER 61" and "byte output/input_pins[] = { numbers}"(i suppose here to declare the rows and colums connected to the pins of the arduino).
And how could i wire the pedal jack and a midi output jack to the arduino?
thanks for listening and for the help I am really grateful

from keyboardscanner.

oxesoft avatar oxesoft commented on June 20, 2024

You just need to change "KEYS_NUMBER" to 88, "output_pins" and "input_pins" to reflect the rows/cols of the matrix and "black_keys" with the number of items of KEYS_NUMBER identifying the black keys in case of BLACK_KEYS_CORRECTION is defined.

from keyboardscanner.

RikiForMusic avatar RikiForMusic commented on June 20, 2024

Oh right! thank you very much for your help, when i'll get the arduino i'll try
and I'll let you know how it goes

from keyboardscanner.

godbless876 avatar godbless876 commented on June 20, 2024

from keyboardscanner.

RikiForMusic avatar RikiForMusic commented on June 20, 2024

hi, i've connected the wires into the pins of the arduino but i have some problems: my pc doesn't recognize the arduino has a midi device so i've connected a midi din to the arduino to use a midi-to-usb cable. from the midi out i don't receive any output put the led blink when i press two buttons at the same time, is there any code or library to include to have a midi out connector working? and in your code i have only changed 61 keys into 88 keys and written my cols has outputs and rows has inputs one below the other, is it correct? thanks in advance, i hope that you could give to me some little advice

from keyboardscanner.

estebanhirzfeld avatar estebanhirzfeld commented on June 20, 2024

did you solve it?

from keyboardscanner.

Related Issues (15)

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.