Difference between revisions of "Translations:ITDB02-2.4S/10/zh-cn"

From ITEAD Wiki
Jump to: navigation, search
(Created page with "<big>'''2.能显示micro SD中的图片'''</big> *第一:下载并安装Adafruit_ILI9340的库:https://github.com/adafruit/Adafruit_ILI9340 *第二,把Adafruit_ILI9340\e...")
 
(No difference)

Latest revision as of 01:51, 9 August 2014

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (ITDB02-2.4S)
<big>'''2.Display the image from micro SD card'''</big>
*[[Download]] the library from this link: https://github.com/adafruit/Adafruit_ILI9340 , then extract it into the directory '''\arduino\libraries'''
*Copy the image '''woof.bmp''' from the directory '''Adafruit_ILI9340\examples\spitftbitmap''' to your SD card, then plug the card into the SD card slot on ITDB02-2.2S LCD module
*Use arduino IDE to open '''spitftbitmap.ino''' in the directory '''Adafruit_ILI9340\examples\spitftbitmap''' then upload it to UNO main board. 
*Select 5V electronic level in the 2.2S LCD module, then use dupont lines to connect UNO and LCD module according to the table as below:
{| class="wikitable wikitable-indent"
|-
| align="center" style="background:#f0f0f0;"|'''2.4S pins'''
| align="center" style="background:#f0f0f0;"|'''UNO pins'''
|-
| VCC||5V
|-
| GND||GND
|-
| SCK||D13
|-
| MISO||D12
|-
| MOSI||D11
|-
| CS||D10
|-
| D/C||D9
|-
| RST||D8
|-
| LEDA||5V/3V3
|-
| SD_CS||D4
|-
|}
*Power UNO main board, a picture of dog showed on the display.
Translation<big>'''2.能显示micro SD中的图片'''</big>
*第一:下载并安装Adafruit_ILI9340的库:https://github.com/adafruit/Adafruit_ILI9340
*第二,把Adafruit_ILI9340\examples\spitftbitmap目录下的woof.bmp图片拷贝到micro SD卡中。然后把SD卡插到[[ITDB02-2.4S]]模块的micro SD卡座上。
*第三,用UNO烧写程序。用arduino IDE打开Adafruit_ILI9340中spitftbitmap的例子。然后按照以下的接线方式连接UNO和[[ITDB02-2.4S]]模块:
{| class="wikitable wikitable-indent"
|-
| align="center" style="background:#f0f0f0;"|'''2.4S pins'''
| align="center" style="background:#f0f0f0;"|'''UNO pins'''
|-
| VCC||5V
|-
| GND||GND
|-
| SCK||D13
|-
| MISO||D12
|-
| MOSI||D11
|-
| CS||D10
|-
| D/C||D9
|-
| RST||D8
|-
| LEDA||5V/3V3
|-
| SD_CS||D4
|-
|}
*插上电源,屏幕上会显示一只狗的图片。

2.能显示micro SD中的图片

  • 第一:下载并安装Adafruit_ILI9340的库:https://github.com/adafruit/Adafruit_ILI9340
  • 第二,把Adafruit_ILI9340\examples\spitftbitmap目录下的woof.bmp图片拷贝到micro SD卡中。然后把SD卡插到ITDB02-2.4S模块的micro SD卡座上。
  • 第三,用UNO烧写程序。用arduino IDE打开Adafruit_ILI9340中spitftbitmap的例子。然后按照以下的接线方式连接UNO和ITDB02-2.4S模块:
2.4S pins UNO pins
VCC 5V
GND GND
SCK D13
MISO D12
MOSI D11
CS D10
D/C D9
RST D8
LEDA 5V/3V3
SD_CS D4
  • 插上电源,屏幕上会显示一只狗的图片。