We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
what exactly does TrinketKeyboard.getLEDstate() return?
The text was updated successfully, but these errors were encountered:
it returns the combination of
#define KB_LED_NUM 0x01 #define KB_LED_CAPS 0x02 #define KB_LED_SCROLL 0x04
you can check it this way, for example
digitalWrite(LED_CAPS, (TrinketKeyboard.getLEDstate()&KB_LED_CAPS)?HIGH:LOW);
Sorry, something went wrong.
great answer; this issue should be closed.
No branches or pull requests
what exactly does TrinketKeyboard.getLEDstate() return?
The text was updated successfully, but these errors were encountered: