Keyboard.println()
설명
Sends a keystroke to a connected computer, followed by a newline and carriage return. Keyboard.println() must be called after initiating Keyboard.begin().
문법
Keyboard.println()
Keyboard.println(character)
Keyboard.println(characters)
매개변수
- character : a char or int to be sent to the computer as a keystroke, followed by newline and carriage return.
- characters : a string to be sent to the computer as a keystroke, followed by a newline and carriage return.
반환값
- size_t : number of bytes sent
예제 코드
※ 주의 및 경고:
When you use the Keyboard.println() command, the Arduino takes over your keyboard! Make sure you have control before you use the command. A pushbutton to toggle the keyboard control state is effective.
더보기
- 언어 : Arduino - Keyboard
- 언어 : Keyboard.begin()
- 언어 : Keyboard.end()
- 언어 : Keyboard Modifiers
- 언어 : Keyboard.press()
- 언어 : Keyboard.print()
- 언어 : Keyboard.release()
- 언어 : Keyboard.write()
※ ARDUINO BUY RECOMMENDATION
Arduino UNO R3 | |
Arduino Starter Kit |
Additionally, some links direct to products from our own brand, DIYables.