Update Payload_BME280_MPU6050_XS_Extended.ino UART changes

pull/295/head
Alan Johnston 2 years ago committed by GitHub
parent d15d68fe8e
commit 9cff78e13f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@
#include <MPU6050_tockn.h> #include <MPU6050_tockn.h>
#include <TinyGPS++.h> #include <TinyGPS++.h>
#ifdef ARDUINO_ARCH_RP2040 #ifdef ARDUINO_ARCH_RP2040
//UART Serial2(8, 9, 0, 0); UART Serial2(8, 9, 0, 0);
#else #else
#include <EEPROM.h> #include <EEPROM.h>
#endif #endif
@ -83,7 +83,7 @@ void setup() {
Serial.println("Starting Serial2 for optional GPS on JP12"); Serial.println("Starting Serial2 for optional GPS on JP12");
// Serial2.begin(9600); // serial from - some modules need 115200 // Serial2.begin(9600); // serial from - some modules need 115200
UART Serial2(8, 9, 0, 0); // UART Serial2(8, 9, 0, 0);
Serial2.begin(9600); // serial from GPS or other serial sensor. Some GPS need 115200 Serial2.begin(9600); // serial from GPS or other serial sensor. Some GPS need 115200
// set all Pico GPIO connected pins to input // set all Pico GPIO connected pins to input

Loading…
Cancel
Save

Powered by TurnKey Linux.