Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Shift1313
    3. Topics
    S
    • Continue chat with Shift1313
    • Start new chat with Shift1313
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Shift1313

    • S

      Question on How to Update the M5Stack Sprite Library
      Cores • • Shift1313

      3
      0
      Votes
      3
      Posts
      2428
      Views

      S

      @macsbug Thanks for the tip I will give it a shot. The short demo video looks promising as I see a gauge that looks great. I have similar results with the Sprite library but fall short on compositing sprites past pushRotated. Thanks
    • S

      HardwareSerial ss(2)? UART connection on 16/17 for a GPS Antenna
      M5stack Grey • • Shift1313

      6
      0
      Votes
      6
      Posts
      6508
      Views

      S

      Ok, here is the simple program I came up with using the TinyGPS++ library. Hopefully It will help someone else who comes across this same problem. I still don't know what I can do to access the correct GROOVE port since the M5 base is for Core2, but at least I have a temp solution to keep developing my project. The complete program below works on my Core Gray with pins connecting my AT6550 to 5v, gnd, 16 and 17 on the core. This uses lat, long and speed on a simple display that is easy to read. #include <M5Stack.h> #include <TinyGPS++.h> static const uint32_t GPSBaud = 9600; TinyGPSPlus gps; HardwareSerial ss(2); void setup() { M5.begin(); M5.Power.begin(); ss.begin(GPSBaud, SERIAL_8N1, 16, 17); M5.Lcd.setTextSize(4); M5.Lcd.setCursor(40,10); M5.Lcd.println("Simple GPS"); M5.Lcd.println("_____________"); } void loop() { while (ss.available() > 0) gps.encode(ss.read()); M5.Lcd.setTextSize(3); M5.Lcd.setCursor(0,100); M5.Lcd.printf("Lat: "); M5.Lcd.setCursor(100,100); M5.Lcd.print(gps.location.lat(), 6); M5.Lcd.setCursor(0,150); M5.Lcd.printf("Lon: "); M5.Lcd.setCursor(100,150); M5.Lcd.print(gps.location.lng(), 6); M5.Lcd.setCursor(0,200); M5.Lcd.printf("MPH "); M5.Lcd.setCursor(100,200); M5.Lcd.print(gps.speed.mph()); }
    • S

      GPS AT6558 Core Gray Confusion
      Core 2 • • Shift1313

      4
      0
      Votes
      4
      Posts
      3415
      Views

      S

      I mistaking posted this in core2, but wanted to chime back in as I have it working. Still not sure how to get the right port with my gray but if someone finds this I wanted to link the solution. https://127.0.0.1:6060/topic/3217/hardwareserial-ss-2-uart-connection-on-16-17-for-a-gps-antenna