mcauser / micropython-waveshare-epaper

MicroPython drivers for Waveshare e-paper modules
MIT License
321 stars 81 forks source link

epaper2in13b #8

Open villeneuve opened 5 years ago

villeneuve commented 5 years ago

Hello, I have done a pull request,but I'm not familiar with github, not sure ir has worked! So I just repeat here, found 2 bugs in epaper2in13b.py all reference to epdif.EPD_WIDTH and epdif.EPD_HEIGHT to replace with EPD_WIDTH and EPD_HEIGHT VCM_DC_SETTING to replace by VCM_DC_SETTING_REGISTER to have the sleep function working Also I have proposed an exemple for this 2in13 display (uploaded) Based on Waveshare esp32 driver board (but of course can be adapted) And an interesting method to permit writing text in portrait and/or lanscape mode check here: https://forum.micropython.org/viewtopic.php?f=18&t=6319 Thanks for your librairy it works perfectly