• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
M5Stack Community
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Lesson 1.2. LCD. Show picture

Lessons and Guides
2
2
8.8k
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 May 1, 2018, 3:54 PM Dec 18, 2017, 2:36 PM

    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
    • 6 months later
    • ajb2k3A
      ajb2k3
      last edited by Jun 17, 2018, 4:46 PM

      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
      1 out of 2
      • First post
        Last post

      Looks like your connection to M5Stack Community was lost, please wait while we try to reconnect.