Skip to content

Commit

Permalink
Update Payload_BME280_MPU6050_XS.ino move gps declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbjohnston authored Jan 20, 2024
1 parent f19e7d7 commit 4ffb9ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <MPU6050_tockn.h>
#ifdef ARDUINO_ARCH_MBED_RP2040
#include <TinyGPS++.h>
TinyGPSPlus gps;
UART Serial2(8, 9, 0, 0);
#else
#include <EEPROM.h>
Expand All @@ -17,7 +18,6 @@ UART Serial2(8, 9, 0, 0);

Adafruit_BME280 bme;
MPU6050 mpu6050(Wire);
TinyGPSPlus gps;

long timer = 0;
int bmePresent;
Expand Down

0 comments on commit 4ffb9ab

Please sign in to comment.