Added small C1024 logo.
This commit is contained in:
parent
6d740d7383
commit
41aa777e2b
@ -289,6 +289,7 @@ image:
|
|||||||
- file: "epaperframe/C1024_logo_flat_bw.png"
|
- file: "epaperframe/C1024_logo_flat_bw.png"
|
||||||
id: c1024_logo
|
id: c1024_logo
|
||||||
type: binary
|
type: binary
|
||||||
|
resize: 77x40
|
||||||
|
|
||||||
spi:
|
spi:
|
||||||
clk_pin: 23
|
clk_pin: 23
|
||||||
@ -331,6 +332,9 @@ display:
|
|||||||
*/
|
*/
|
||||||
it.filled_rectangle(86, 21, 297, 3);
|
it.filled_rectangle(86, 21, 297, 3);
|
||||||
|
|
||||||
|
/* C1024 logo */
|
||||||
|
it.image(10 , 37, id(c1024_logo));
|
||||||
|
|
||||||
it.print(10, 115, id(mdi_small), TextAlign::BASELINE_LEFT, ""); // air pressure icon
|
it.print(10, 115, id(mdi_small), TextAlign::BASELINE_LEFT, ""); // air pressure icon
|
||||||
it.print(375, 75, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // thermometer icon
|
it.print(375, 75, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // thermometer icon
|
||||||
it.print(375, 115, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // water percent icon
|
it.print(375, 115, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // water percent icon
|
||||||
|
BIN
esphome/epaperframe/C1024_logo_flat_bw.png
Normal file
BIN
esphome/epaperframe/C1024_logo_flat_bw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue
Block a user