paperdink / PaperdInk-Library

Arduino Library to interact with Paperd.Ink
MIT License
21 stars 8 forks source link

Separate calendar code from paperlink.h library #29

Open YuriStruszczynski opened 1 year ago

YuriStruszczynski commented 1 year ago

For me, it's a big problem, that all the functions of the calendar example apps are created inside the main paperlink.h library. Does anyone get a standalone application running where I can fully edit the code of the calendar example?

I even tried to include the whole library into my custom project to override the functions there - it compiles but still uses the old library. How can I get the whole calendar example, including the library, into one project?

Any ideas?

What I basically wanted to do, is to just change a view strings for localization to German, inside todo_list.cpp Like display.println(F("To-Do List")); to display.println(F("To-Do Liste")); But it's just not possible because the function is enclosed inside the library.

cimm commented 1 year ago

I started paying with the library but decided to write my own wrappers a few months ago. I am no embedded systems programmer, so my code quality might be a bit iffy, but maybe it can give you some ideas?

https://github.com/cimm/papercal/tree/master/paper