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

    drawJpg refresh rate is slow

    Arduino
    2
    2
    348
    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.
    • L
      lamfan
      last edited by

      #define SPI_FREQUENCY 80000000 
      
      1. M5.Lcd.drawJpg(f1, sizeof(f1));
      
      2. M5GFX display.drawJpg(f1, sizeof(f1), 0, 0);
      

      I'm rendering a const unsigned char f1[] image on the LCD, but the refresh rate is slow. You can see a black area at the bottom when updating drawJpg.

      I'm using the M5Stack Core2. Any help would be greatly appreciated!

      Thank you!

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @lamfan
        last edited by

        @lamfan You need to show your code so we can try to see what's happening.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post