File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/Example1_DeviceIdentification Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ void setup()
63
63
myModule.invertPowerPin (true );
64
64
65
65
// Initialize the SARA
66
- if (myModule.begin (mySerial, 9600 ) )
66
+ if (myModule.begin (mySerial, UBX_CELL_DEFAULT_BAUD_RATE ) )
67
67
{
68
68
Serial.println (F (" SARA-R5 connected!" ));
69
69
}
Original file line number Diff line number Diff line change @@ -646,9 +646,9 @@ class UBX_CELL : public Print
646
646
~UBX_CELL ();
647
647
// Begin -- initialize module and ensure it's connected
648
648
#ifdef UBX_CELL_SOFTWARE_SERIAL_ENABLED
649
- bool begin (SoftwareSerial &softSerial, unsigned long baud = 9600 );
649
+ bool begin (SoftwareSerial &softSerial, unsigned long baud = UBX_CELL_DEFAULT_BAUD_RATE );
650
650
#endif
651
- bool begin (HardwareSerial &hardSerial, unsigned long baud = 9600 );
651
+ bool begin (HardwareSerial &hardSerial, unsigned long baud = UBX_CELL_DEFAULT_BAUD_RATE );
652
652
653
653
// Debug prints
654
654
void enableDebugging (Print &debugPort = Serial); // Turn on debug printing. If user doesn't specify then Serial will be used.
You can’t perform that action at this time.
0 commit comments