Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messy Lib #9

Open
xdubx opened this issue Apr 3, 2020 · 6 comments
Open

Messy Lib #9

xdubx opened this issue Apr 3, 2020 · 6 comments

Comments

@xdubx
Copy link

xdubx commented Apr 3, 2020

The display BW 152 is completely missing in the lib. ORDINARY_SCREEN not work for me << i have a 1.54 inch screen.

Pin declarations are strange
SPI.pins(CLK_PIN,MISO,SDI_PIN,CS_PIN);
OK we have custom pin declarations but we use the standard MISO pin. Makes no sence.
Select.cpp have fancy defineds to.
the function Display_String dont work at all if you have not the right display.
lib.properties file have only avr architectures.

Can you take a look at the lib and rewrite it?

@martinberlin
Copy link

martinberlin commented Apr 18, 2020

This library is completely unusable! I already mentioned it in the other issue.
Especially the intructions on how to set it up. I must say it's kind of a joke, lucky you could make it work with gxEPD and ESP8266. I had no luck with ESP32 (And gxEPD)

OK we have custom pin declarations but we use the standard MISO pin

I think MISO pin is defined by the espressif arduino itself. So don't worry about it, it should use already the correct one.

So at least with Heltec lib something works now even that is messy. If I find some time tomorrow I will make a fork and document it better. It's possible also that gxEPD works but only on ESP8266 since they are different definitions depending on the Espressif chip type.

@martinberlin
Copy link

martinberlin commented Apr 19, 2020

Dear @xdubx
I took some time this morning to put some order in this and forked the library. For me now it works:
https://github.com/martinberlin/e-ink-platformio

Note that my display model is: USE_154_BW_GREEN
I guess this name is because the Eink is covered with a transparent plastic with a green ending to remove.
Try it out and let me know if it works. Basically, just inject the library, using my fork and just add the build_flags like I wrote in the Readme example. Much easier, better readable, and keeping the variables outside the library environment.

@iotleaf
Copy link

iotleaf commented May 8, 2020

I am evaluating the heltec 1.54 board with green label attached, to run on an UNO board.
So far I have been unable to modify your library to work (spent 1 day on this).
Could you please configure your system, and test it, to run on an UNO, and then email me a zip file containing all the required files?.. My email is medical@iotleaf.co.uk
Thanks

@martinberlin
Copy link

Sorry @iotleaf but I cannot do your homework. First of all I do not have an UNO at home at the moment. Have you tried the example I suggested using Platformio ?

@iotleaf
Copy link

iotleaf commented May 9, 2020

Hi Martinberlin, sorry - I posted this issue in the wrong place, the library I was refering to was Heltec, rather than your version for platformino

@martinberlin
Copy link

If anyone is using ESP-IDF/ ESP32 I made a class that works with this display:

https://github.com/martinberlin/cale-idf/wiki/Model-heltec0151.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants