Hello,
I have a ESP32-WROOM32 but i have a problem with a Gif animation in EspHome.
esp32:
board: nodemcu-32s
framework:
type: esp-idf
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
This Gif is in slowmotion and not the real speed.
Perhaps iam missing something in the Code?
This is my Code
GIF
display:
- platform: ssd1306_i2c
model: "SH1106 128x64"
update_interval: 0.2s
address: "0x3C"
id: my_display
it.image(64, 8, id(loading_gif), ImageAlign::TOP_CENTER, COLOR_ON, COLOR_OFF);
interval:
- interval: 0.2s
then:
lambda: |-
id(loading_gif).next_frame();
and the gif
animation:
- file: "_gifs/loading_2.gif"
id: loading_gif
resize: 100x50
use_transparency: true
#type: GRAYSCALE
- id: page2
lambda: |-
it.printf(64, 0, id(font1), TextAlign::TOP_CENTER, id(my_global_uberschrift).c_str());
// id(loading_gif).next_frame();
it.image(64, 12, id(loading_gif), ImageAlign::TOP_CENTER, COLOR_OFF, COLOR_ON);