diff --git a/Arduino/lib/ft817/ft817.cpp b/Arduino/lib/ft817/ft817.cpp index dd779f2..903d4e8 100644 --- a/Arduino/lib/ft817/ft817.cpp +++ b/Arduino/lib/ft817/ft817.cpp @@ -46,7 +46,7 @@ void FT817::setSerial(SoftwareSerial portInfo) } // similar to Serial.begin(baud); command -void FT817::begin(int baud) +void FT817::begin(long baud) { rigCat.begin(baud); } diff --git a/Arduino/lib/ft817/ft817.h b/Arduino/lib/ft817/ft817.h index 81f4e1d..41314da 100644 --- a/Arduino/lib/ft817/ft817.h +++ b/Arduino/lib/ft817/ft817.h @@ -333,7 +333,7 @@ class FT817 FT817(); // setup void setSerial(SoftwareSerial portInfo); // load the softserial into the FT817 - void begin(int baud); // set the baudrate of the softserial lib + void begin(long baud); // set the baudrate of the softserial lib // toggles void lock(boolean toggle); // lock/unlock diff --git a/Arduino/src/main.cpp b/Arduino/src/main.cpp index 3b20b72..3d421e0 100644 --- a/Arduino/src/main.cpp +++ b/Arduino/src/main.cpp @@ -135,7 +135,7 @@ void setup(void) { // Start serial Serial.begin(9600); // serial port for the main sketch to talk to PC serial monitor - radio.begin(9600); // start the serial port for the CAT library + radio.begin(38400); // start the serial port for the CAT library // Set up some pins pinMode(backlightPin, OUTPUT);