3 Commits
1.1.0 ... 1.1.2

Author SHA1 Message Date
morgan
d65877ad29 update library properties 2018-11-17 11:43:59 -08:00
morgan
dc93752730 temporary fixes for KISS example 2018-11-07 16:45:46 -08:00
morgan
220bd8aa28 remove overloading of frequency function, now using frequency_float for subkhz frequency settings 2018-10-29 18:31:37 -07:00
5 changed files with 12 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ void program_pl_tx() {
long pl_tx = atof(pl_tx_buffer);
Serial.print(" Which is FLOAT of ");
Serial.println(pl_tx,DEC);
radio.setCtcssEncoder(pl_tx);
radio.setCtcss(pl_tx);
}
void pl_tone_rx() {
@@ -128,7 +128,7 @@ void program_pl_rx() {
long pl_rx = atof(pl_rx_buffer);
Serial.print(" Which is FLOAT of ");
Serial.println(pl_rx,DEC);
radio.setCtcssDecoder(pl_rx);
radio.setCtcss(pl_rx);
}

View File

@@ -8,6 +8,11 @@
* power and then to your computer via USB. Issue commands
* via the KISS equipment.
*
* You can also just use the serial terminal to send and receive
* APRS packets, but keep in mind that several fields in the packet
* are bit-shifted from standard ASCII (so if you're receiving,
* you won't get human readable callsigns or paths).
*
* To use the KISS example with YAAC:
* 1. open the configure YAAC wizard
* 2. follow the prompts and enter in your details until you get to the "Add and Configure Interfaces" window
@@ -55,9 +60,9 @@ void setup() {
radio.setVolume2(0xFF);
radio.setSQHiThresh(-100);
radio.setSQLoThresh(-100);
radio.setSQOn();
//radio.setSQOn();
radio.frequency(144390);
//radio.bypassPreDeEmph();
radio.bypassPreDeEmph();
dds.start();
afsk.start(&dds);

View File

@@ -1,5 +1,5 @@
name=HamShield
version=1.1.0
version=1.1.2
author=Morgan Redfield <morgan@enhancedradio.com>, Casey Halverson <casey@enhancedradio.com>
maintainer=Morgan Redfield <morgan@enhancedradio.com>
sentence=A library for use with HamShield by Enhanced Radio Devices.

View File

@@ -1343,7 +1343,7 @@ bool HamShield::frequency(uint32_t freq_khz) {
return false;
}
bool HamShield::frequency(float freq_khz) {
bool HamShield::frequency_float(float freq_khz) {
if((freq_khz >= 134000) && (freq_khz <= 174000)) {
setTxBand2m();

View File

@@ -245,7 +245,7 @@ class HamShield {
void safeMode();
bool frequency(uint32_t freq_khz);
bool frequency(float freq_khz);
bool frequency_float(float freq_khz);
uint32_t getFrequency();
float getFrequency_float();