Difference between revisions of "Translations:RASPBERRY PI OLED ADD-ON/13/zh-cn"

From ITEAD Wiki
Jump to: navigation, search
m
m
 
Line 9: Line 9:
 
::i2c-dev
 
::i2c-dev
 
*重启树莓派
 
*重启树莓派
*从这个链接https://github.com/iteadsw/SDK 下载安装SDK
+
*从这个链接https://github.com/itead/SDK 下载安装SDK
 
*进入这个目录 '''libraries/itead_SSD1306/examples/oled_Animation_Sample/''', 编译和运行文件 '''oled_Animation_Sample.ino'''  
 
*进入这个目录 '''libraries/itead_SSD1306/examples/oled_Animation_Sample/''', 编译和运行文件 '''oled_Animation_Sample.ino'''  
 
:编译 oled_Animation_Sample.ino 指令如下
 
:编译 oled_Animation_Sample.ino 指令如下

Latest revision as of 03:13, 2 December 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 (RASPBERRY PI OLED ADD-ON)
==Instruction==
*Plug OLED add-on into Raspberry Pi and power it
*modify the file /etc/modprobe.d/raspi-balcklist.conf
:modified codes as below
::blacklist spi-bcm2708
::blacklist i2c-bcm2708
* modify /etc/modules
:add a line in the end as below:
::i2c-dev
*reboot
*Download the SDK from this link: https://github.com/iteadsw/SDK and then install it
*Enter into the directory '''libraries/itead_SSD1306/examples/oled_Animation_Sample/''', then compile and run this file '''oled_Animation_Sample.ino''' 
:Command as below to compile oled_Animation_Sample.ino
::$ iteadcompile OLED oled_Animation_Sample.ino
:Command to run this program
::$ sudo ./OLED
*When the compilation is done, you can see a little man dancing on OLED.
[[File:IM140714003in1.gif|400px]]
Translation==使用说明==
*将RpiOledAddon插到RPI V2上面,上电。
*修改文件 /etc/modprobe.d/raspi-balcklist.conf
:修改后的编码如下:请将^符号修改成#
::^blacklist spi-bcm2708
::^blacklist i2c-bcm2708
* 修改 /etc/modules
:在最后添加一行如下代码
::i2c-dev
*重启树莓派
*从这个链接https://github.com/itead/SDK 下载安装SDK
*进入这个目录 '''libraries/itead_SSD1306/examples/oled_Animation_Sample/''', 编译和运行文件 '''oled_Animation_Sample.ino''' 
:编译 oled_Animation_Sample.ino 指令如下
::$ iteadcompile OLED oled_Animation_Sample.ino
:运行指令如下
::$ sudo ./OLED
*OLED会出现一个跳舞的小人。
[[File:IM140714003in1.gif|400px]]

使用说明

  • 将RpiOledAddon插到RPI V2上面,上电。
  • 修改文件 /etc/modprobe.d/raspi-balcklist.conf
修改后的编码如下:请将^符号修改成#
^blacklist spi-bcm2708
^blacklist i2c-bcm2708
  • 修改 /etc/modules
在最后添加一行如下代码
i2c-dev
  • 重启树莓派
  • 从这个链接https://github.com/itead/SDK 下载安装SDK
  • 进入这个目录 libraries/itead_SSD1306/examples/oled_Animation_Sample/, 编译和运行文件 oled_Animation_Sample.ino
编译 oled_Animation_Sample.ino 指令如下
$ iteadcompile OLED oled_Animation_Sample.ino
运行指令如下
$ sudo ./OLED
  • OLED会出现一个跳舞的小人。

IM140714003in1.gif