Update Payload_BME280_MPU6050_XS.ino move gps declaration

beta-payload
Alan Johnston 2 years ago committed by GitHub
parent f19e7d7fd3
commit 4ffb9ab825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,6 +8,7 @@
#include <MPU6050_tockn.h> #include <MPU6050_tockn.h>
#ifdef ARDUINO_ARCH_MBED_RP2040 #ifdef ARDUINO_ARCH_MBED_RP2040
#include <TinyGPS++.h> #include <TinyGPS++.h>
TinyGPSPlus gps;
UART Serial2(8, 9, 0, 0); UART Serial2(8, 9, 0, 0);
#else #else
#include <EEPROM.h> #include <EEPROM.h>
@ -17,7 +18,6 @@ UART Serial2(8, 9, 0, 0);
Adafruit_BME280 bme; Adafruit_BME280 bme;
MPU6050 mpu6050(Wire); MPU6050 mpu6050(Wire);
TinyGPSPlus gps;
long timer = 0; long timer = 0;
int bmePresent; int bmePresent;

Loading…
Cancel
Save

Powered by TurnKey Linux.