diff --git a/examples/AFSK_PacketTester/AFSK_PacketTester.ino b/examples/AFSK_PacketTester/AFSK_PacketTester.ino index a8a75db..e858dd4 100644 --- a/examples/AFSK_PacketTester/AFSK_PacketTester.ino +++ b/examples/AFSK_PacketTester/AFSK_PacketTester.ino @@ -50,6 +50,7 @@ void setup() { radio.initialize(); radio.frequency(144390); radio.setRfPower(0); + radio.bypassPreDeEmph(); // needed for digital modes dds.start(); afsk.start(&dds); delay(100); diff --git a/examples/AFSK_SerialMessenger/AFSK_SerialMessenger.ino b/examples/AFSK_SerialMessenger/AFSK_SerialMessenger.ino index 4674ec4..3b25826 100644 --- a/examples/AFSK_SerialMessenger/AFSK_SerialMessenger.ino +++ b/examples/AFSK_SerialMessenger/AFSK_SerialMessenger.ino @@ -8,9 +8,12 @@ * a message under 254 characters into the bar at the top of * the monitor. Click the "Send" button. Check for output on * AFSK receiver. - - * NOTE: add message receive code -*/ + * + * To send a message: connect to the Arduino over a Serial link. + * Send the following over the serial link: + * `from,to,:message + * example: * `KG7OGM,KG7OGM,:Hi there + */ @@ -55,6 +58,7 @@ void setup() { radio.setSQHiThresh(-100); radio.setSQLoThresh(-100); radio.setSQOn(); + radio.bypassPreDeEmph(); dds.start(); afsk.start(&dds); delay(100); diff --git a/examples/AX25Receive/AX25Receive.ino b/examples/AX25Receive/AX25Receive.ino index 27ba6b4..24166e1 100644 --- a/examples/AX25Receive/AX25Receive.ino +++ b/examples/AX25Receive/AX25Receive.ino @@ -54,6 +54,7 @@ void setup() { Serial.print(F(" / ")); Serial.println(radio.getSQLoThresh()); radio.setModeReceive(); + radio.bypassPreDeEmph(); // needed for digital modes Serial.println(F("DDS Start")); delay(100); dds.start(); diff --git a/examples/DTMF/DTMF.ino b/examples/DTMF/DTMF.ino index 4b6aaed..9f7a68f 100644 --- a/examples/DTMF/DTMF.ino +++ b/examples/DTMF/DTMF.ino @@ -139,11 +139,13 @@ void loop() { if (Serial.available()) { code = char2code(Serial.read()); + if (code == 255) code = 0xE; // throw a * in there so we don't break things with an invalid code radio.setDTMFCode(code); // set first } else { dtmf_to_tx = false; } } + delay(20); // make sure the last code is done // done with tone radio.setModeReceive(); radio.setTxSourceMic(); diff --git a/examples/KISS/KISS.ino b/examples/KISS/KISS.ino index 573f55d..b01afc9 100644 --- a/examples/KISS/KISS.ino +++ b/examples/KISS/KISS.ino @@ -56,6 +56,7 @@ void setup() { radio.setSQLoThresh(-100); radio.setSQOn(); radio.frequency(144390); + radio.bypassPreDeEmph(); dds.start(); afsk.start(&dds); diff --git a/examples/SSTV/SSTV.ino b/examples/SSTV/SSTV.ino index 211341f..30c04d8 100755 --- a/examples/SSTV/SSTV.ino +++ b/examples/SSTV/SSTV.ino @@ -44,6 +44,7 @@ void setup() { Serial.println(result); radio.initialize(); radio.frequency(446000); + radio.bypassPreDeEmph(); radio.setModeReceive(); } diff --git a/examples/SSTV_M1_Static/SSTV_M1_Static.ino b/examples/SSTV_M1_Static/SSTV_M1_Static.ino index 4f542ec..5b69f0c 100644 --- a/examples/SSTV_M1_Static/SSTV_M1_Static.ino +++ b/examples/SSTV_M1_Static/SSTV_M1_Static.ino @@ -54,6 +54,7 @@ void setup() { radio.initialize(); radio.setRfPower(0); radio.frequency(145500); + radio.bypassPreDeEmph(); // put your setup code here, to run once: //dds.setReferenceClock(34965/4); dds.start();