Display plz
This commit is contained in:
parent
5323faab57
commit
e18b0e5002
@ -72,7 +72,7 @@ int draw() {
|
|||||||
Debug("Progress bar width: %d\n", progWidth);
|
Debug("Progress bar width: %d\n", progWidth);
|
||||||
Paint_DrawRectangle(10, 112, 240 - progWidth, 102, BLACK, DOT_PIXEL_1X1, DRAW_FILL_FULL);
|
Paint_DrawRectangle(10, 112, 240 - progWidth, 102, BLACK, DOT_PIXEL_1X1, DRAW_FILL_FULL);
|
||||||
Paint_DrawRectangle(10, 102, 240 - progWidth, 92, WHITE, DOT_PIXEL_1X1, DRAW_FILL_FULL);
|
Paint_DrawRectangle(10, 102, 240 - progWidth, 92, WHITE, DOT_PIXEL_1X1, DRAW_FILL_FULL);
|
||||||
EPD_2in13_V4_Display_Partial(BlackImage);
|
EPD_2in13_V4_Display(BlackImage);
|
||||||
endTime = clock();
|
endTime = clock();
|
||||||
elapsedTime = (double)(endTime - startTime) / CLOCKS_PER_SEC;
|
elapsedTime = (double)(endTime - startTime) / CLOCKS_PER_SEC;
|
||||||
if (elapsedTime < 200) {
|
if (elapsedTime < 200) {
|
||||||
|
Loading…
Reference in New Issue
Block a user