Browse Source

fix image size in tutorial 1

tags/v0.5.0
wolfv6 7 years ago
parent
commit
f7dd336772

+ 0
- 2
README.md View File

@@ -29,8 +29,6 @@ is 40 lines of code for a 4-key keyboard.
The sketch is small because the keybrd library takes care of the low-level details.
It runs the breadboard keyboard in this picture.
<img src="tutorials/keybrd_1_breadboard/breadboard_keyboard_2x2.JPG" title="breadboard keyboard" alt="breadboard keyboard" style="height:290px;width:328px;">
<img src="tutorials/keybrd_1_breadboard/breadboard_keyboard_2x2.JPG" title="breadboard keyboard" alt="breadboard keyboard" height="290" width="328">
Example complex keybrd sketch

+ 1
- 1
tutorials/tutorial_1_breadboard_keyboard.md View File

@@ -48,7 +48,7 @@ Electrostatic discharge (ESD) safety
Static electricity can damage a microcontroller in ways that are hard to trouble shoot.
I live in a desert on a carpeted floor and get zapped by door knobs regularly.
Whenever I handle microcontrollers I:
Here is the ESD precaution I take whenever I handle a microcontroller:
1. Touch the bare metal on the back of my desktop computer (its grounded).
2. Then while still touching to the computer, touch the metal USB connector case on the microcontroller.

+ 4
- 5
tutorials/tutorial_8b_creating_and_publishing_your_own_keybrd_extension_library.md View File

@@ -37,10 +37,10 @@ Add your keybrd library to the Keyboard/Keypads sublist:
Publishing on GitHub with listing on Arduino Library-Manager and Arduino Playground LibraryList
-----------------------------------------------------------------------------------------------
The advantage of using GitHub is that users can submit pull requests.
The advantage of using Arduino Library-Manager is that users can install your library through the Arduino IDE.
The advantage of using Arduino Library-Manager is that users can easily find and install your library through the Arduino IDE.

Arduino Library-Manager is particular about the directory structures it accepts.
Your keybrd extension library should have a library.properties file and a src folder, placed like this:
A library.properties file and a src folder need to be placed in your keybrd extension library like this:

keybrd_MyKeyboard/
library.properties
@@ -58,8 +58,7 @@ Your keybrd extension library should have a library.properties file and a src fo
class2.h
..
instantiations_codes.h
instantiations_ports.h
instantiations_matrix.h
instantiations_rows.h

The library.properties file is described in
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
@@ -73,7 +72,7 @@ Example library.properties file:
sentence=An extension to the keybrd library for the MyKeyboard.
paragraph=This library demonstrates my feature.
category=Device Control
url= (instert your github repo URL for keybrd_MyKeyboard)
url= (instert your MyKeyboard github repo URL here)
architectures=*
```