[USB]
描述
Stops the keyboard emulation to a connected computer. To start keyboard emulation, use Keyboard.begin().
語法
Keyboard.end()
參數
無
回傳
nothing
範例
void setup() { //start keyboard communication Keyboard.begin(); //send a keystroke Keyboard.print("Hello!"); //end keyboard communication Keyboard.end(); } void loop() { //do nothing }
參考
- Keyboard.begin()
- Keyboard.press()
- Keyboard.print()
- Keyboard.println()
- Keyboard.release()
- Keyboard.releaseAll()
- Keyboard.write()
語法參考主頁面
86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。