Added reading storage for text and current position, ability to copy from SD Card.
This commit is contained in:
@@ -111,3 +111,11 @@ void display_sleep()
|
||||
{
|
||||
EPD_PowerOff();
|
||||
}
|
||||
|
||||
void display_alert(char* text)
|
||||
{
|
||||
EPD_clearStringRect(CENTER, CENTER, text);
|
||||
EPD_print(text, CENTER, CENTER);
|
||||
EPD_frameStringRect(CENTER, CENTER, text);
|
||||
EPD_UpdateScreen();
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@ void display_update();
|
||||
void display_wake();
|
||||
void display_sleep();
|
||||
|
||||
void display_alert(char* text);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user