Created HamShieldQuickStartGuide (markdown)
parent
878398ea28
commit
01d6f25b9b
|
@ -0,0 +1,16 @@
|
||||||
|
The HamShield library has many powerful functions to get you started.
|
||||||
|
|
||||||
|
#### Getting Started
|
||||||
|
|
||||||
|
To get started, you will need to include the libraries and create a radio. You can call it what you wish. In our examples, we call it just 'radio'.
|
||||||
|
|
||||||
|
/* My Awesome New HAM Radio Idea */
|
||||||
|
|
||||||
|
#include <HAMShield.h>
|
||||||
|
#include <Wire.h>
|
||||||
|
|
||||||
|
HamShield radio;
|
||||||
|
|
||||||
|
In the above example, we include the HamShield and Wire libraries. These are critical libraries that are used to control the radio as well as communicate with the radio. The second function creates an object of the HamShield type. You do not need to know what this means - just make sure its always written in your sketch outside of the setup() and loop() functions.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue