txp666/otto-emoji-gif-component

1.1.1

Latest
uploaded 1 day ago
Otto robot GIF emoji resource pack - 6 animated GIF emojis (gifs folder only)

readme

# Otto Robot GIF Emoji Component

ESP-IDF component that provides **only the gifs folder** with 6 Otto robot GIF emojis for LVGL.

## Content

- **gifs/** – 6 GIF files: `staticstate`, `sad`, `happy`, `scare`, `buxue`, `anger`
- Minimal C API: version, count, and name by index

No embedded C arrays; load GIFs from filesystem or embed them in your project.

## Requirements

- ESP-IDF
- LVGL >= 9.0

## Usage

Add to your project's `idf_component.yml`:

```yaml
dependencies:
  txp666/otto-emoji-gif-component: "^1.1.1"
```

In code:

```c
#include "otto_emoji_gif.h"

// Version and count
printf("Version: %s, Count: %d\n", otto_emoji_gif_get_version(), otto_emoji_gif_get_count());

// Get GIF filename by index (0..5)
const char *name = otto_emoji_gif_get_name(0);  // "staticstate"
```

Copy the **gifs/** folder to your SPIFFS/image partition or embed the GIF files in your app, then use LVGL to open them (e.g. `lv_gif_set_src()` from file path).

## Layout

```
otto-emoji-gif-component/
├── idf_component.yml
├── CMakeLists.txt
├── gifs/           # only content – 6 GIF files
│   ├── staticstate.gif
│   ├── sad.gif
│   ├── happy.gif
│   ├── scare.gif
│   ├── buxue.gif
│   └── anger.gif
├── include/
│   └── otto_emoji_gif.h
└── src/
    └── otto_emoji_gif.c
```

## License

MIT

Links

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "txp666/otto-emoji-gif-component^1.1.1"

download archive

Stats

  • Archive size
    Archive size ~ 208.11 KB
  • Downloaded in total
    Downloaded in total 304.5k times
  • Downloaded this version
    This version: 2.6k times

Badge

txp666/otto-emoji-gif-component version: 1.1.1
|