Giter Site home page Giter Site logo

waveshare-epaper's Introduction

Waveshare e-paper package

Waveshare e-paper package for Python on Raspberry Pi. Original source is https://github.com/waveshare/e-Paper.

Install

pip install waveshare-epaper

Usage

You can get available e-paper modules list by epaper.modules().

$ python
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import epaper
>>> epaper.modules()
['epd1in02', 'epd1in54', 'epd1in54_V2', 'epd1in54b', 'epd1in54b_V2', 'epd1in54c', 'epd2in13', 'epd2in13_V2', 'epd2in13b_V3', 'epd2in13bc', 'epd2in13d', 'epd2in66', 'epd2in66b', 'epd2in7', 'epd2in7b', 'epd2in7b_V2', 'epd2in9', 'epd2in9_V2', 'epd2in9b_V3', 'epd2in9bc', 'epd2in9d', 'epd3in7', 'epd4in01f', 'epd4in2', 'epd4in2b_V2', 'epd4in2bc', 'epd5in65f', 'epd5in83', 'epd5in83_V2', 'epd5in83b_V2', 'epd5in83bc', 'epd7in5', 'epd7in5_HD', 'epd7in5_V2', 'epd7in5b_HD', 'epd7in5b_V2', 'epd7in5bc']

epaper.epaper method takes the model name and returns the e-paper library module.

import epaper

# For example, when using 7.5inch e-Paper HAT
epd = epaper.epaper('epd7in5').EPD()

# init and Clear
epd.init()
epd.Clear()

License

This software is released under the MIT License, see LICENSE.

waveshare-epaper's People

Contributors

yskoht avatar

Stargazers

Caleb Smith avatar  avatar Wildan Zulfikar avatar  avatar

Watchers

James Cloos avatar  avatar

waveshare-epaper's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.