Difference between revisions of "Lesson 26--Microduino 5*7 Lattice Dynamic Display"
From Microduino Wiki
(Created page with "{{Language|第二十六课--Microduino 5*7点阵动态显示}} {| style="width: 800px;" |- | ==Objective== This tutorial will display a image dynamically using 5*7 LED lattice...") |
|||
Line 14: | Line 14: | ||
==Debug== | ==Debug== | ||
− | *Prepared | + | *Prepared Work: |
− | **Test | + | **Test Program: '''[[File:.led_5_7_move.zip]]''' |
− | **Modulus | + | **Modulus software: '''[[File:PCtolCD.zip]]''' |
===Experiment one=== | ===Experiment one=== | ||
*Entire image switch | *Entire image switch | ||
Line 23: | Line 23: | ||
Step 2:Compile it and select the board to download; | Step 2:Compile it and select the board to download; | ||
*Note | *Note | ||
− | **The first for() loop uses to delay the | + | **The first for() loop uses to delay the display time, shorter time delay and shorter the display time. |
− | **In the first for() loop, there is another for() loop, it uses to | + | **In the first for() loop, there is another for() loop, it uses to display a image. Function delay() uses to set the refresh rate. |
**You can use the second for() loop to add more image, but need change the corresponding array data in function leddisplay(). | **You can use the second for() loop to add more image, but need change the corresponding array data in function leddisplay(). | ||
===Experiment two=== | ===Experiment two=== | ||
*Move the image | *Move the image | ||
− | * | + | *Principle: Use the left shift operation or right shift operation and for() loop to adjust the move speed. |
− | Step | + | Step 1: Open the test program; |
− | Step | + | Step 2: Compile it, select the board type and download; |
*Note | *Note | ||
**The first for() loop controls the movement,the second for() controls the speed and the third for() uses to display. | **The first for() loop controls the movement,the second for() controls the speed and the third for() uses to display. |
Latest revision as of 08:33, 12 September 2016
Language: | English • 中文 |
---|
ObjectiveThis tutorial will display a image dynamically using 5*7 LED lattice, including move and switch the image. Equipment
Debug
Experiment one
Step 1:Open the test program; Step 2:Compile it and select the board to download;
Experiment two
Step 1: Open the test program; Step 2: Compile it, select the board type and download;
ResultThe first experiment completes the image switch, the second experiment completes the movement of image. Players can according to their own interest to do some more interesting animation. Video |