Translations:RASPBERRY PI OLED ADD-ON/13/en

From ITEAD Wiki
Jump to: navigation, search

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.

IM140714003in1.gif