GithubHelp home page GithubHelp logo

aleross97 / epaper Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 34 KB

Project for displaying stories on the GFX HAT for Raspberry Pi Zero W

C++ 94.86% Shell 5.14%
epaper inkyphat pimoroni-inkyphat raspberry-pi cbmp gfxhat display

epaper's Introduction

epaper

Project for displaying stories with Pimoroni GFX HAT and Raspberry Pi Zero

These repository contains

  • Three cpp classes:

    • spi_device: uses /dev/spi*.* to comunicate with the display (so the SPI driver must be enabled - see config.txt on raspberry pi)

    • gpio_device: direct access to memory to handle the GPIO pins

    • graphic_device: class to handle the GFX HAT display, requires spi_device and gpio_device

    • epaper: Old class to handle InkyPhat epaper display, not used anymore

  • Two files from another repository (https://github.com/mattflow/cbmp):

    • cbmp.c: i did not write this.

    • cbmp.h: i did not write this.

How to build

Clone the repository and run the build.sh by issuing:

bash build.sh

This will generate:

  • app_DisplayGrid.o: displays a set of axys on the display to check alignment. Does not require any dependencies.

  • app_DisplayImage.o: displays the image "prova.bmp" to the display. Must be of the right size, if not an error is generated.

  • app_GraphicTest.o: displays a moving square on the display

  • app_TestButtonsLeds.o: uses directly i2c to test buttons and leds

Issues

Opened issues:

  • SPI might always read 0

Unsupported

  • Fast update on the inky phat display

Work in progress

This i'm working on and eventually do and update:

  • Niente

Useful links

Resource i find useful to build this:

Display controller datasheet

Raspberry PI Zero W datasheet

Ben Krasnow fast update implementation for epaper

InkyPhat/InkyWhat python library github repository

Success thread oni fast updating for SSD1675A controllers

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.