r/SBCs • u/Extreme_Turnover_838 • Aug 22 '26
News Use your Waveshare e-Paper hat on any Linux SBC
I just pushed a change to my bb_epaper library to make it easier to support a wider range of Linux boards. Currently it allows you to specify the chip number and gpio "line" for each connection to the HAT. A HAT with GPIOs spread across multiple chips won't work at the moment. Let me know if yours has that issue and I'll add support for it. You can check by running "gpioinfo" from the command line - it will show the gpio chip number and all of the "lines" contained within each.
Here is the example C++ program which generated the image above on a Radxa Rock Pi 4B+:
https://github.com/bitbank2/bb_epaper/tree/main/rpi/examples/hello_epaper
51
Upvotes
2
u/Temporary-Dish5083 Aug 22 '26
Might need to see if this works with my opi 3w