Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d65877ad29 | ||
|
|
dc93752730 | ||
|
|
220bd8aa28 |
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user