Closed DJPoulter closed 1 week ago
I'm also using v3 and not able to start bjorn service. my error in logs:
Nov 08 16:03:00 Bjorn python3[1504]: Error initializing EPD for full update: EPD.init() takes 1 positional argument but 2 were given
Nov 08 16:03:00 Bjorn python3[1504]: 2024-11-08 16:03:00 - shared.py - ERROR - Error initializing EPD display:
Nov 08 16:03:00 Bjorn python3[1504]: EPD.init() takes 1 positional argument but 2 were given
Nov 08 16:03:00 Bjorn python3[1504]: Traceback (most recent call last):
Nov 08 16:03:00 Bjorn python3[1504]: File "/home/bjorn/Bjorn/Bjorn.py", line 24, in
@DJPoulter @ZeroCool-Dade Im trying to create files so you can try and let me know guys, unfortunately i couldnt buy this version when it was on sell 🙏
I am happy to test when you have the updated files. Else I can also put up an MR this week to fix it.
My MR may fix the issue @DJPoulter #12
Fixed in #22
Confirmed, #22 fixed my 2.13 v3 screen, thanks @jbohack
Merged the PR, thanks !
Waveshare v3 doesn't work due to https://github.com/infinition/Bjorn/blob/4dd30869b3179ca0c7d71de28ced0936792c03f5/resources/waveshare_epd/epd2in13_V3.py#L202
The init function only takes in 1 param compared to the others which take in 2.
It also needs to be added to https://github.com/infinition/Bjorn/blob/4dd30869b3179ca0c7d71de28ced0936792c03f5/shared.py#L173
Else self.screen_reversed is undefined