- Prepare gif with https://ezgif.com (crop -> resize -> split - skip frames -> save). (Keep in mind that TTGO can store ~15 frames)
- Register and create new token on OpenWeatherMap API. (They send it right after registration by Email, API key is active after 30min);
- Update code with city, conuntry, api key, time-zone converter, wifi credentials;
- Prepare gif with gif-converter:
pyenv install 3.9.0
pyenv local 3.9.0
pip install Pillow
brew install ghostscript
brew install imagemagick
- Fix path to imagemack in eTFT-gif-converter.py
cmd = ['/usr/local/bin/convert', '-coalesce', self.gif, 'frame_%d.jpg']
- Generate animation header file:
cd gif-converter/
./eTFT-gif-converter.py -i ~/Downloads/222.gif -o ../ani.h
- Compile with Arduino IDE
- Debug Serial on 115200
- Have fun!