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

Guide: document the LEDs on PB5,6,7 #45

Open
ErinCall opened this issue Jun 21, 2017 · 2 comments
Open

Guide: document the LEDs on PB5,6,7 #45

ErinCall opened this issue Jun 21, 2017 · 2 comments

Comments

@ErinCall
Copy link
Contributor

The circuit diagram shows 3 LEDs on PB5, PB6, and PB7. They don't show up in the example photos, though, and their purpose isn't clear to me. There's a note that "When the keyboard starts successfully two of the LEDs light up shortly." What does the third one do? Why do we need two LEDs to show successful startup?

Looking at the ergodox-firmware source (that function is defined here), it seems they all turn on at startup. Is that the case?

Are they supposed to have any use beyond debug?

@ErinCall
Copy link
Contributor Author

Oh, and are the associated resistors necessary if the LEDs aren't present? They show up in the example photos, but I don't know if that's because they have to be there or because you left them in after removing the LEDs.

@joedevivo
Copy link
Contributor

@ErinCall, I'm halfway done with the qmk-guide in this repo, but you can see more about how I wired the LEDs here for now. With QMK all three will flash on startup, but you can make them do whatever you like in your keymapping. I have a function in my keymapping that lets me represent 0-7 in binary, so I can see which layer is currently active.

I don't know if the resistors are required without the LEDs, but I do know it's a pain to select them, as they're different for each color LED. I'm willing to try leaving the resistors while I test the new PCBs I'm working on [See #49], but I might not get the prototypes back for a while.

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