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

ARDUINO BUY RECOMMENDATION

Arduino UNO R3
Arduino Starter Kit
Disclosure: Some links in this section are Amazon affiliate links. If you make a purchase through these links, we may earn a commission at no extra cost to you.
Additionally, some links direct to products from our own brand, DIYables.

※ OUR MESSAGES