diff --git a/inc/board_config.h b/inc/board_config.h index dc8e834..36517f1 100644 --- a/inc/board_config.h +++ b/inc/board_config.h @@ -24,6 +24,7 @@ // GPS CONFIGURATION (BN-220) #define GPS_TX_PIN 10 // GPS TX pin connected to Arduino RX #define GPS_RX_PIN 11 // GPS RX pin connected to Arduino TX + #define GPS_BUADRATE 9600 // GPS serial baud rate. // Radio defines #define RFM95_CS 8 diff --git a/src/main.cpp b/src/main.cpp index 1437d68..3433fde 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -130,10 +130,10 @@ void setup(void) { } // LED Ring Setup - FastLED.addLeds(leds, NUM_LEDS); // Initialize the LED ring + FastLED.addLeds(leds, NUM_LEDS); // GPS Setup - gpsSerial.begin(9600); // Start GPS communication at 9600 baud rate + gpsSerial.begin(GPS_BUADRATE); } void loop() {