Giter VIP home page Giter VIP logo

Comments (3)

alf45tar avatar alf45tar commented on September 28, 2024

Display mode button is the built-in BOOT button (GPIO_NUM_0) and it is not changed.
There is not too much GPIOs available: 23, 1 and 3.

You can try to play a little bit with the RIGHT_PIN and LEFT_PIN definition into Pedalino.h

#define FACTORY_DEFAULT_PIN GPIO_NUM_0
#define RIGHT_PIN GPIO_NUM_23
#define CENTER_PIN GPIO_NUM_0
#define LEFT_PIN GPIO_NUM_23

If you are not using MIDI_IN (GPIO_NUM_15) or MIDI_OUT (GPIO_NUM_4) or USB MIDI (GPIO_NUM_18 and GPIO_NUM_19) you could have more available GPIOs. In this case remember to remap them to somenthing else not used.

Cheers
alf45tar

from pedalinomini.

romakrau avatar romakrau commented on September 28, 2024

Thank you for your quick responce. I have found the GPIO 1 and 3 as TX0 and RX0. Can I use GPIO 2 as CENTER_PIN or will I damage the board.
Greetings
Roman

from pedalinomini.

alf45tar avatar alf45tar commented on September 28, 2024

To use GPIO 1 and 3 I think you need to disable serial debug in platformio.ini
Delete or comment the following lines:

-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=3

Yes, you can use GPIO 2 but consider that is connected to the board led and it is used as output by PedalinoMini.

Change

#define WIFI_LED 2

in WifiConnect.h too

from pedalinomini.

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.