Resolve compiling issues in Examples.

This commit is contained in:
nick6x 2016-08-11 20:01:02 -07:00
parent 2907eaf02e
commit 06cb3f24ed
6 changed files with 5 additions and 8 deletions

View File

@ -29,7 +29,6 @@ void setup() {
radio.initialize();
radio.frequency(145010);
radio.setSQOff();
I2Cdev::writeWord(A1846S_DEV_ADDR_SENLOW, 0x44, 0b11111111);
Serial.println(F("Frequency"));
delay(100);
Serial.print(F("Squelch(H/L): "));
@ -37,8 +36,6 @@ void setup() {
Serial.print(F(" / "));
Serial.println(radio.getSQLoThresh());
radio.setModeReceive();
Serial.print(F("RX? "));
Serial.println(radio.getRX());
Serial.println(F("DDS Start"));
delay(100);
dds.start();

View File

@ -28,7 +28,7 @@ void setup() {
radio.initialize();
radio.setRfPower(0);
radio.setFrequency(145050);
radio.frequency(145050);
dds.start();
dds.setFrequency(1200);

View File

@ -41,7 +41,7 @@ void setup() {
int result = radio.testConnection();
Serial.println(result,DEC);
radio.initialize();
radio.setFrequency(446000);
radio.frequency(446000);
radio.setModeReceive();
Serial.println("Entering gauges...");
tone(9,1000);

View File

@ -28,7 +28,7 @@ void setup() {
Serial.println("Setting radio to its defaults..");
radio.initialize();
radio.setRfPower(0);
radio.setChanMode(3);
//radio.setChanMode(3);
}
void loop() {

View File

@ -37,7 +37,7 @@ void setup() {
// int result = radio.testConnection();
radio.initialize();
radio.setFrequency(446000);
radio.frequency(446000);
setPwmFrequency(9, 1);
}

View File

@ -51,7 +51,7 @@ void setup() {
void loop() {
if(radio.waitForChannel(1000,2000)) { // Wait forever for calling frequency to open, then wait 2 seconds for breakers
if(radio.waitForChannel(1000,2000, rssi)) { // Wait forever for calling frequency to open, then wait 2 seconds for breakers
radio.setModeTransmit(); // Turn on the transmitter
delay(250); // Wait a moment
radio.SSTVTestPattern(MARTIN1); // send a MARTIN1 test pattern