Lesson 34--Microduino 16*16 Lattice Character Animated Emoticon

From Microduino Wiki
Revision as of 06:33, 26 July 2016 by Fengfeng (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文

Objective

This experiment uses a 16*16 lattice to dislay a picture dynamically instead of dispaly a picture staticly. We will use Chinese character to do this experiment.

Equipment

Document

LM-2256 Series 16 *16 matrix displays:File:.led 16 16.zip

Features

  • Smale, the size is 40.46*40.46*5mm;
  • Using 2mm round LED;
  • LED lattice screen on a black background, very beautiful.

Debug

  • Prepare Work:
  • Step 1:Download test program, uncompress and open it;
  • Step 2:Compile it and then select the board to download;
  • Step 3:

Display Character dynamically

    • Change the font

Detailed information, please refer to: http://www.microduino.cc/wiki/index.php?title=%E7%AC%AC%E4%BA%8C%E8%AF%BE--Microduino_OLED%E4%BD%BF%E7%94%A8/zh

Note: Change the modulus method to:Determinant, yang code, reverse. After finished, download directly.

    • Change the number of Chinese character

In loop() block, the first for() uses to control the number of picture, the number of cycles is the image number. So need to chagne two places:

1.Add the image code to row[];

2.Change the range of variable "j". For example, there 10 images, need change to "for(j=0;j<10;j++)".

    • Change the display time

In loop() block, the second for() uses to control the display time for every image, the greater value, the longer time;

Result

Through the test, it can display the image dynamically, replacement timer is 1s. The players can modify the display image and time according to his own fond.

Issue need to pay attention

  • Change the font, need to set modulus format properly.

Video