Skip to content

Instantly share code, notes, and snippets.

@GermaniumSystem
GermaniumSystem / README
Last active September 28, 2019 07:50
Pwnagotchi Waveshare V1 module support hack
Preface:
This guide shows how to quickly hack in support for the Waveshare V1 display module. Expect this guide to become inaccurate, as official support may be added soon.
This guide does not cover the 3-color variants. The same idea should work, but you will need to supply a second image buffer in .display().
Steps:
0. If you have already run a V1 module with stock pwnagotchi code, the screen is probably damaged. It can be revived by disconnecting it and leaving it in a dark location for a while - probably overnight. The screen may still show signs of damage, but it will be usable.
1. Replace /root/pwnagotchi/scripts/pwnagotchi/ui/waveshare.py with https://github.com/waveshare/e-Paper/blob/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd/epd2in13.py
2. Create /root/pwnagotchi/scripts/pwnagotchi/ui/epdconfig.py containing https://github.com/waveshare/e-Paper/blob/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd/epdconfig.py
3. Update /root/pwnagotchi/scripts/pwnagotchi/ui/display.py to suppo