Create Print_Hello.ino a basic tutorial on how to use the Keyboard Library#31
Create Print_Hello.ino a basic tutorial on how to use the Keyboard Library#31AsherThomasBabu wants to merge 4 commits intoarduino-libraries:masterfrom AsherThomasBabu:patch-1
Conversation
An example that is already present in the Arduino.cc website, but missing in the official libraries.
per1234
left a comment
There was a problem hiding this comment.
The established convention for Arduino sketches is for the first letter to be capitalized.
The examples must be placed under the examples folder in a subfolder that matches the sketch name exactly:
Keyboard
|_examples
|_Write
|_Write.ino
Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#library-examples
|
Note that this is one of the reference examples, not one of the tutorial sketches: I do like the idea of providing a minimal "hello world" type of example sketch, but https://www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardprint/#_example_code would probably be better for that purpose, since the use of the ASCII value in this example adds an extra level of complexity for the beginner. |
An example that is already present in the Arduino.cc website, but missing in the official libraries.