Skip to content
/ Khartoum Public

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

Notifications You must be signed in to change notification settings

v79/Khartoum

Repository files navigation

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 C library for hardware control. It recreates some of the Waveshare GUI 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:

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published