معرفی شرکت ها


ST7789-0.0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Library to control ST7789 TFT LCD displays.
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل ST7789-0.0.4
نام ST7789
نسخه کتابخانه 0.0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Philip Howard
ایمیل نویسنده phil@pimoroni.com
آدرس صفحه اصلی https://github.com/pimoroni/st7789-python/
آدرس اینترنتی https://pypi.org/project/ST7789/
مجوز MIT
# Python ST7789 [![Build Status](https://travis-ci.com/pimoroni/st7789-python.svg?branch=master)](https://travis-ci.com/pimoroni/st7789-python) [![Coverage Status](https://coveralls.io/repos/github/pimoroni/st7789-python/badge.svg?branch=master)](https://coveralls.io/github/pimoroni/st7789-python?branch=master) [![PyPi Package](https://img.shields.io/pypi/v/st7789.svg)](https://pypi.python.org/pypi/st7789) [![Python Versions](https://img.shields.io/pypi/pyversions/st7789.svg)](https://pypi.python.org/pypi/st7789) Python library to control an ST7789 TFT LCD display Designed specifically to work with a ST7789 based 240x240 pixel TFT SPI display. (Specifically the [1.3" SPI LCD from Pimoroni](https://shop.pimoroni.com/products/1-3-spi-colour-lcd-240x240-breakout)). ![Animated GIF showing the ST7789 SPI LCD displaying Deploy/Rainbows in alternating frames](https://raw.githubusercontent.com/pimoroni/st7789-python/master/square-lcd-breakout-1.gif) # Installation Make sure you have the following dependencies: ```` sudo apt-get update sudo apt-get install python-rpi.gpio python-spidev python-pip python-pil python-numpy ```` Install this library by running: ```` sudo pip install st7789 ```` You might also need to enable I2C and SPI in raspi-config. See example of usage in the examples folder. # Licensing & History This library is a modification of a modification of code originally written by Tony DiCola for Adafruit Industries, and modified to work with the ST7735 by Clement Skau. To create this ST7789 driver, it has been hard-forked from st7735-python which was originally modified by Pimoroni to include support for their 160x80 SPI LCD breakout. ## Modifications include: * PIL/Pillow has been removed from the underlying display driver to separate concerns- you should create your own PIL image and display it using `display(image)` * `width`, `height`, `rotation`, `invert`, `offset_left` and `offset_top` parameters can be passed into `__init__` for alternate displays * `Adafruit_GPIO` has been replaced with `RPi.GPIO` and `spidev` to closely align with our other software (IE: Raspberry Pi only) * Test fixtures have been added to keep this library stable Pimoroni invests time and resources forking and modifying this open source code, please support Pimoroni and open-source software by purchasing products from us, too! Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! Modified from 'Modified from 'Adafruit Python ILI9341' written by Tony DiCola for Adafruit Industries.' written by Clement Skau. MIT license, all text above must be included in any redistribution # Changelog 0.0.4 ----- * Add support for 320x240 2.0" LCD (Display HAT Mini) * Add support for 240x135 1.14" LCD (@slabua) * Rework numpy RGB888 to RGB565 * Support displaying numpy arrays (@zecktos) 0.0.3 ----- * Add support for RLCD * Brought back `offset_left` and `offset_top` parameters 0.0.2 ----- * Fix for image retention * Drop defunct parameters 0.0.1 ----- * Initial Release


نحوه نصب


نصب پکیج whl ST7789-0.0.4:

    pip install ST7789-0.0.4.whl


نصب پکیج tar.gz ST7789-0.0.4:

    pip install ST7789-0.0.4.tar.gz