Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about PIN out #12

Open
FakeGalaxy opened this issue Jul 12, 2023 · 1 comment
Open

about PIN out #12

FakeGalaxy opened this issue Jul 12, 2023 · 1 comment

Comments

@FakeGalaxy
Copy link

cause some reason, i don't want to find the Pin of SS in Arduino Leonardo. and if i want misc button 4 with none light, i just change in config.h and will work? such as below
/* PINOUT */
// Pins where the LEDs are connected to
static const uint8_t led_pins[] = {
2, // button 1 led
4, // button 2 led
6, // button 3 led
8, // button 4 led
10, // button 5 led
12, // button 6 led
18, // button 7 led
20, // misc button 1 led
22, // misc button 2 led
14, // misc button 3 led
17 // misc button 4 led
};

// Pins where the buttons are connected to
static const uint8_t button_pins[] = {
    3,    // button 1
    5,    // button 2
    7,    // button 3
    9,    // button 4
    11,   // button 5
    13,   // button 6
    19,   // button 7
    21,   // misc button 1
    23,   // misc button 2
    15,   // misc button 3
    16    // misc button 4
};
@Gladuin
Copy link
Owner

Gladuin commented Jul 13, 2023

hi, sorry for the late reply. i read your comment but forgot to actually send my reply :)

yes, i think this would work fine. the led of misc button 4 would be connected to the rx led of the arduino, and your button to one of the pins of the icsp header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants