Joy-it LINKERKIT OLED Скачать руководство пользователя страница 3

You can edit the file directly on the Raspberry with the following command:

sudo nano/boot/config.txt

config.txt can be edited directly on the Raspberry

With the key combination „Strg“ + „X“ and a following „Y“  and „Enter“ as a 

confirmation, changes will be saved.

3.Installation of the Adafruit SSD1306 library

The developers of adafruit offer a library to control OLED displays with a 

SSD1306 chipset. To use this library you must give the following commands 

to install further but necessary modules:

(every command must be confirmed with “Enter“):

sudo apt-get update

sudo apt-get install build essential python-dev python-pip-y

sudo pip install RPi.GPIO

sudo apt-get install python-imaging python-smbus-y

If all modules are installed, the “Adafruit_Python_SSD1306“ library can be 

installed with the following commands:

sudo apt-get install git

git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git

cd Adafruit_Python_SSD1306

sudo python setup.py install

Содержание LINKERKIT OLED

Страница 1: ...nd Arduino 1 GENERAL INFORMATION Dear customer thank you for choosing our product In the following we will show you how to use your product Should you encounter any unexpected problems during use plea...

Страница 2: ...isplay pin name Raspberry Pi pin number Raspberry Pi GND VCC SDA SCL GND 3V3 GPIO 02 SDA1 GPIO 03 SCL1 06 01 03 05 2 Activation of the I2C interface To follow the following installation instructions w...

Страница 3: ...a SSD1306 chipset To use this library you must give the following commands to install further but necessary modules every command must be confirmed with Enter sudo apt get update sudo apt get install...

Страница 4: ...examples From there you can invoke the following commands show ticker sudo python animate py show a little picture sudo python image py happycat_oled_64 ppm show different shapes sudo python shapes p...

Страница 5: ...ink as a Zip file Adafruit_SSD1306 https github com adafruit Adafruit_SSD1306 Adafruit GFX Library https github com adafruit Adafruit GFX Library Unzip The libraries must be unzipped in the Arduino li...

Страница 6: ...eat 61 display begin SSD1306_SWITCHCAPVCC 0x3D initialize with the I2C addr 0x3D for the 128x64 62 init done These must be changed like that 60 by default we ll generate the high voltage from the 3 3v...

Страница 7: ...and can be directly compiled and loaded on the Arduino...

Страница 8: ...es and accumulators which are not enclosed by the device Return options As the end user you can hand over with the purchase of a new device your old appliance which has essentially the same functions...

Отзывы: