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

    Lesson 1.2. LCD. Show picture

    Lessons and Guides
    2
    2
    9.1k
    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.
    • DimiD
      Dimi
      last edited by Dimi

      This lesson focuses on the integrated LCD display. We will learn how to display an image on the screen of the array of pixel colors.

      Step 1. Create a new sketch in the Arduino IDE. select New in the File menu (Fig. 1.1);

      alt text
      Figure 1. Create a new sketch

      Step 2. Print the logo on the device screen by calling the following functions (Fig. 2). Note gImage_logoM5 variable is an array from the library M5Stack.h that contains the logo image of the device. One way of obtaining such array is given in the next lesson;

      alt text
      Figure 2. Using M5.Lcd.drawBitmap();

      Step 5. Click the Upload button (figure 3) in order to flash the device;

      alt text
      Figure 3. Download the firmware to the device

      Step 6. When the device firmware is completed, the device screen will appear our logo (Fig. 4).

      alt text
      Figure 4. Logo М5Stack on the device screen

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

        Can we get some clarification on this like where the logo is stored and how its created?

        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