From 6c1d9512390765527c0b428df3c3e5951a7cc4fe Mon Sep 17 00:00:00 2001 From: Morgan Redfield Date: Fri, 15 Mar 2019 12:33:37 -0700 Subject: [PATCH] Updated HamShield Library Reference (markdown) --- HamShield-Library-Reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HamShield-Library-Reference.md b/HamShield-Library-Reference.md index 3a0d49d..3d685e8 100644 --- a/HamShield-Library-Reference.md +++ b/HamShield-Library-Reference.md @@ -8,9 +8,9 @@ In our method examples, we will be using the object 'radio'. You do not need to Creates the HamShield radio object. This must exist in every HamShield sketch outside of __loop()__ and __setup()__. You may also call __radio__ any other name if you would like. For example, if we wanted our object called __amateur__, we would use __HamShield amateur()__. Then, to issue commmands to the HamShield, we would have to use __amateur.frequency(446000)__. Confusing? We thought so too. Just use __radio__. -#### HamShield radio(shield identifier); +#### HamShield radio(ncs_pin, clk_pin, dat_pin, mic_pin); -If you have two HamShields or an I2C address conflict, this allows you to select the radio SoC after modifying a resistor. Please see the tricks and tips section on how to use this. +If you want to use non-standard pins for the HamShield, you can pass the pins you're using here. #### radio.initalize(); @@ -49,9 +49,9 @@ radio.setChanMode(12.5KHZ); Returns the current channel mode as a uint16_t. -#### radio.setRfPower(0-8); +#### radio.setRfPower(0-15); -Sets the output power for TX. A setting of 0 is lowest, a setting of 8 will give highest power output. +Sets the output power for TX. A setting of 0 is lowest, a setting of 15 will give highest power output. ![RF Power](http://support.hamshield.com/uploads/default/original/1X/23d46859a6f450334c7cdacfaae448c52cb5e12e.png)[Spectrum RF 446 mhz](http://support.hamshield.com/uploads/default/original/1X/f4c1226f812c8631da6a7f8d46bc5ac3dcee6b55.jpg) #### radio.setModeTransmit();