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

Questions while trying to use epd-waveshare instead of il3820 #14

Open
caemor opened this issue Feb 22, 2019 · 7 comments
Open

Questions while trying to use epd-waveshare instead of il3820 #14

caemor opened this issue Feb 22, 2019 · 7 comments

Comments

@caemor
Copy link
Contributor

caemor commented Feb 22, 2019

I tried to use my epd_waveshare crate for this app instead of the il3820 which is basically just a slightly different driver for the same display. (the epd-crate also includes 2 other epds).

The biggest problem I have right now is that ui:view always creates a new buffer/display_ribbon_left. Is there a reason for this? (https://github.com/TeXitoi/rusty-clock/blob/master/portable/src/ui/mod.rs#L152)

@TeXitoi
Copy link
Owner

TeXitoi commented Feb 22, 2019

To mimich the ELM architecture.

Also to allocate only when needed, and to not depend on stm32 types without generics everywhere.

I quite like that the buffer is completely decoupled from the driver. I begun the il3820 crate before you publish your, and I never take the time to polish it for publication.

Now, the size of the display is quite hard coded in the rendering, some work need to be done if we want to use different screen size.

@TeXitoi
Copy link
Owner

TeXitoi commented Feb 23, 2019

Do you plan to construct a clock? I'd be interested by photos, even just on a breadboard!

@caemor
Copy link
Contributor Author

caemor commented Feb 23, 2019

Yes, I am trying to use your clock here :-D
But I am still waiting for a few parts to arrive :-)

@TeXitoi
Copy link
Owner

TeXitoi commented Mar 12, 2019

I see you've done a lot of refactor to your driver. One time you publish 0.3 on crates.io, I'll happily accept a PR using your library that looks much better than mine.

Any news on the photos of your project?

@caemor
Copy link
Contributor Author

caemor commented Mar 12, 2019

I'm hanging on a bug where it doesn't set the fast refresh rate once more after the slow full refresh at the full hour. As soon as it's completly working I am happy to publish ;-)
Also I was missing time :-D

@caemor
Copy link
Contributor Author

caemor commented Apr 4, 2019

image

a little screenshot of running your clock (although without the case and without buttons atm)

@TeXitoi
Copy link
Owner

TeXitoi commented Jun 18, 2019

If you have any more photos, I'll happily add them to the gallery.

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

2 participants