From c813bac7b88b79e9d48652c08db7a4bec128da3e Mon Sep 17 00:00:00 2001 From: Morgan Redfield Date: Sun, 24 Jun 2018 17:16:39 -0700 Subject: [PATCH] rever KISS example --- examples/KISS/KISS.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/KISS/KISS.ino b/examples/KISS/KISS.ino index 8555be7..573f55d 100644 --- a/examples/KISS/KISS.ino +++ b/examples/KISS/KISS.ino @@ -22,13 +22,13 @@ #include #include #include -#include +#include #include HamShield radio; DDS dds; -AX25 ax25; -KISS kiss(&Serial, &radio, &dds, &ax25); +AFSK afsk; +KISS kiss(&Serial, &radio, &dds, &afsk); #define PWM_PIN 3 #define RESET_PIN A3 @@ -58,7 +58,7 @@ void setup() { radio.frequency(144390); dds.start(); - ax25.start(&dds); + afsk.start(&dds); delay(100); radio.setModeReceive(); } @@ -81,7 +81,7 @@ ISR(ADC_vect) { TIFR1 = _BV(ICF1); // Clear the timer flag dds.clockTick(); if(++tcnt == 1) { - ax25.timer(); + afsk.timer(); tcnt = 0; } } \ No newline at end of file