🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Problems with M5GFX Library

    Scheduled Pinned Locked Moved Arduino
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 0 Offline
      007jimmey
      last edited by

      Hi,
      I been trying to get a M5-Stack 6-DoF IMU Pro Mini Unit (BMI270, BMM150, BMP280) to work for a project however I been having problem with getting the library to work.
      When I tried to run the example code from GitHub; Example code. I got this error even though I installed all the library's needed. I also re-installed/ updated Arduino IDE.
      Any other way I could do this would be welcome.

      In file included from C:\Users\28355\OneDrive - 28355\Documents\Arduino\libraries\M5GFX\src/M5GFX.h:19:0,
                       from C:\Users\28355\OneDrive - 28355\Documents\Arduino\libraries\M5Unified\src/M5Unified.hpp:19,
                       from C:\Users\28355\OneDrive – 28355\Documents\Arduino\libraries\M5Unified\src/M5Unified.h:5,
                       from C:\Users\28355\AppData\Local\Temp\.arduinoIDE-unsaved2025226-37800-1pdxwpq.agmb\sketch_mar26a\sketch_mar26a.ino:23:
      C:\Users\28355\OneDrive - 28355\Documents\Arduino\libraries\M5GFX\src/lgfx/v1/platforms/device.hpp:94:10: fatal error: arduino_default/Bus_SPI.hpp: No such file or directory
       #include "arduino_default/Bus_SPI.hpp"
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      exit status 1
      
      Compilation error: exit status 1
      
      
      V 1 Reply Last reply Reply Quote 1
      • V Offline
        VashJuan @007jimmey
        last edited by

        @007jimmey Any update or resolution? Im encountering this on ArduinoDroid...

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post