MouseKeyboard
让Leonardo停止模拟连接到电脑的键盘。要启动键盘模拟,使用 Keyboard.begin ()。
Keyboard.end()
无
void setup() { //启动键盘通信 Keyboard.begin(); //发送一个按键动作 Keyboard.print("Hello!"); //结束键盘通信 Keyboard.end(); } void loop() { //什么都不做 }