Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/v79/khartoum

A library and app to display text and images on an Raspberry Pi eInk display
https://github.com/v79/khartoum

epaper kotlin-native raspberrypi

Last synced: 6 days ago
JSON representation

A library and app to display text and images on an Raspberry Pi eInk display

Awesome Lists containing this project

README

        

## Khartoum

Experimenting with Waveshare ePaper for the Raspberry Pi

Writing code in Kotlin Native to control and display images and text on a Waveshare ePaper HAT for the Raspbery Pi.

Makes use of the [bcm2835](https://www.airspayce.com/mikem/bcm2835/index.html) C library for hardware control. It recreates some of the [Waveshare GUI C](https://github.com/waveshare/e-Paper/tree/master/RaspberryPi%26JetsonNano/c) example functions, in Kotlin, in a library I am calling *Khartoum*. So far, the following functions are available:

The __Khartoum__ binary must be run as root (`sudo -E ./Khartoum.kexe`) on the Raspberry Pi.

### Libraries used

- Kotlinx serialization
- Kotlinx datetime
- Native c-libraries:
- libCurl
- [bcm2835](https://www.airspayce.com/mikem/bcm2835/index.html) C library

### Links and references

### Spotify

Requires two environment variables to be set:

- SPOTIFY_CLIENT
- SPOTIFY_SECRET

Getting these is quite complicated.

Need the `-E` option to be passed to sudo for them to be available.