Skip to content

Create Print_Hello.ino a basic tutorial on how to use the Keyboard Library#31

Open
AsherThomasBabu wants to merge 4 commits into
arduino-libraries:masterfrom
AsherThomasBabu:patch-1
Open

Create Print_Hello.ino a basic tutorial on how to use the Keyboard Library#31
AsherThomasBabu wants to merge 4 commits into
arduino-libraries:masterfrom
AsherThomasBabu:patch-1

Conversation

@AsherThomasBabu

Copy link
Copy Markdown

An example that is already present in the Arduino.cc website, but missing in the official libraries.

An example that is already present in the Arduino.cc website, but missing in the official libraries.

@per1234 per1234 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@per1234

per1234 commented Mar 14, 2020

Copy link
Copy Markdown
Contributor

Note that this is one of the reference examples, not one of the tutorial sketches:
https://www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardwrite/#_example_code

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.

@AsherThomasBabu AsherThomasBabu changed the title Create write.ino Create Print_Hello.ino a basic tutorial on how to use the Keyboard Library Mar 14, 2020
@CLAassistant

CLAassistant commented Apr 9, 2021

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@per1234 per1234 added topic: documentation Related to documentation for the project type: enhancement Proposed improvement labels Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: documentation Related to documentation for the project type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants