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

drive fuction. command buzzer and keyboard LED. #62

Open
gioreva opened this issue Nov 4, 2022 · 1 comment
Open

drive fuction. command buzzer and keyboard LED. #62

gioreva opened this issue Nov 4, 2022 · 1 comment

Comments

@gioreva
Copy link

gioreva commented Nov 4, 2022

The keyboard supplier tells me that it is possible to do feedback.
Report the result of the code with LED and buzzer.
Respons code error, or code right and opening.

The library does not have this function.
Can someone help me ?

@jpliew
Copy link
Collaborator

jpliew commented Nov 5, 2022

This can be done without the library. It is all depending on how the keyboard accepts the signal. Some keyboard just need high or low 5V signal but some requires transistor to drive.

What you need to do is to confirm with your keyboard supplier what signal is required.

Then you can use regular Arduino digitalWrite(GPIOPIN, HIGH) or digitalWrite(GPIOPIN, LOW) to drive the LED or the buzzer.

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

No branches or pull requests

2 participants