In order to create a code base we can work with, which only includes the code we really need, we have to get rid of the following:
- Code for different microcontrollers: As we are working with the Arduino MKR WiFi 1010, we don't need code that runs on every possible microcontroller.
- Code to display images on the e-paper display: We only want to display text. If you want to add image functionality on your own later on, you can re-integrate the bits and pieces to make it work.
- Code for fast refreshes: There are different ways to refresh the display. We don't update the display very often and can, therefore, use the slower but simpler method.
Deleting code from an existing example (or reading about it) is probably ...