kopia lustrzana https://github.com/g7uhn/ft817_buddy
fixed serial baud from int to long to allow 38400
rodzic
cdf816f0aa
commit
3efdd672eb
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue