fix image size in tutorial 1
This commit is contained in:
parent
e257d35132
commit
f7dd336772
@ -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.
|
The sketch is small because the keybrd library takes care of the low-level details.
|
||||||
It runs the breadboard keyboard in this picture.
|
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">
|
<img src="tutorials/keybrd_1_breadboard/breadboard_keyboard_2x2.JPG" title="breadboard keyboard" alt="breadboard keyboard" height="290" width="328">
|
||||||
|
|
||||||
Example complex keybrd sketch
|
Example complex keybrd sketch
|
||||||
|
@ -48,7 +48,7 @@ Electrostatic discharge (ESD) safety
|
|||||||
Static electricity can damage a microcontroller in ways that are hard to trouble shoot.
|
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.
|
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).
|
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.
|
2. Then while still touching to the computer, touch the metal USB connector case on the microcontroller.
|
||||||
|
@ -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
|
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 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.
|
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/
|
keybrd_MyKeyboard/
|
||||||
library.properties
|
library.properties
|
||||||
@ -58,8 +58,7 @@ Your keybrd extension library should have a library.properties file and a src fo
|
|||||||
class2.h
|
class2.h
|
||||||
..
|
..
|
||||||
instantiations_codes.h
|
instantiations_codes.h
|
||||||
instantiations_ports.h
|
instantiations_rows.h
|
||||||
instantiations_matrix.h
|
|
||||||
|
|
||||||
The library.properties file is described in
|
The library.properties file is described in
|
||||||
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
|
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.
|
sentence=An extension to the keybrd library for the MyKeyboard.
|
||||||
paragraph=This library demonstrates my feature.
|
paragraph=This library demonstrates my feature.
|
||||||
category=Device Control
|
category=Device Control
|
||||||
url= (instert your github repo URL for keybrd_MyKeyboard)
|
url= (instert your MyKeyboard github repo URL here)
|
||||||
architectures=*
|
architectures=*
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user