Keyboard.end()
Description
Stops the keyboard emulation to a connected computer. To start keyboard emulation, use Keyboard.begin().
Syntax
Keyboard.end()
Parameter Values
- None
Return Values
- Nothing
Example Code
#include <Keyboard.h>
void setup() {
//start keyboard communication
Keyboard.begin();
//send a keystroke
Keyboard.print("Hello!");
//end keyboard communication
Keyboard.end();
}
void loop() {
//do nothing
}
See Also
- Language : Arduino - Keyboard
- Language : Keyboard.begin()
- Language : Keyboard Modifiers
- Language : Keyboard.press()
- Language : Keyboard.print()
- Language : Keyboard.println()
- Language : Keyboard.release()
- Language : Keyboard.releaseAll()
- Language : Keyboard.write()
※ ARDUINO BUY RECOMMENDATION
Arduino UNO R3 | |
Arduino Starter Kit |
Please note: These are Amazon affiliate links. If you buy the components through these links, We will get a commission at no extra cost to you. We appreciate it.