From d89732b9a07ba3ce80d27e95a6b0677d0c7cd8bd Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Tue, 5 Nov 2024 13:57:42 -0500 Subject: [PATCH] Update bbn_m5atomS3_lite_GPS_AT6558.ino --- bbn_m5atomS3_lite_GPS_AT6558/bbn_m5atomS3_lite_GPS_AT6558.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbn_m5atomS3_lite_GPS_AT6558/bbn_m5atomS3_lite_GPS_AT6558.ino b/bbn_m5atomS3_lite_GPS_AT6558/bbn_m5atomS3_lite_GPS_AT6558.ino index 2ee81a6..33e4d4d 100644 --- a/bbn_m5atomS3_lite_GPS_AT6558/bbn_m5atomS3_lite_GPS_AT6558.ino +++ b/bbn_m5atomS3_lite_GPS_AT6558/bbn_m5atomS3_lite_GPS_AT6558.ino @@ -1,4 +1,4 @@ -#include +#include /* https://docs.m5stack.com/en/unit/gps @@ -19,7 +19,7 @@ void setup() { auto cfg = M5.config(); - M5.begin(cfg); + AtomS3.begin(cfg); Serial.begin(9600); Serial2.begin(9600, SERIAL_8N1, G6, G5); // UART pins when GPS is plugged into port C of ATOMIC PortABC Extension Base //Serial2.begin(9600, SERIAL_8N1, G1, G2); // UART pins when GPS is plugged directly into grove port of M5 AtomS3-lite