This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

flexio_mculcd_polling

Overview

This example shows how to use flexio mculcd driver polling APIs to drive MCU LCD panel. Please focus on functions DEMO_LcdWriteCommand, DEMO_LcdWriteData, and DEMO_LcdWriteMemory to learn how to use the polling APIs.

In this project, the panel is devided into 4 windows, the project changes the color of each window one by one. The behavior is:

  1. Project starts with black screen.

  2. Fill window one by one as red, and delay 0.5s after fill each window.

  3. Fill window one by one as green, and delay 0.5s after fill each window.

  4. Fill window one by one as blue, and delay 0.5s after fill each window.

  5. Fill window one by one as white, and delay 0.5s after fill each window.

  6. Go to step 2.

+—————————+—————————+ | | | | | | | | | | window 0 | window 1 | | | | | | | +—————————+—————————+ | | | | | | | | | | window 2 | window 3 | | | | | | | +—————————+—————————+

Supported Boards