Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AsherThomasBabu
Copy link

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.
Copy link
Contributor

@per1234 per1234 left a comment

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
Copy link
Contributor

per1234 commented Mar 14, 2020

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
Copy link

CLAassistant commented Apr 9, 2021

CLA assistant check
All committers have signed the CLA.

@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