Add initial project files for ESP32 animated eyes, including main application sources, assets, CMake configuration, and supporting ESP-IDF components for LCD and touch functionality. Includes documentation, test apps, and configuration files.
37 lines
750 B
C
37 lines
750 B
C
/**
|
|
* @file animated_eyes_demo.h
|
|
* @brief Demo functions for animated eyes
|
|
*/
|
|
|
|
#ifndef ANIMATED_EYES_DEMO_H
|
|
#define ANIMATED_EYES_DEMO_H
|
|
|
|
#include "animated_eyes.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Start the animated eyes demo
|
|
*
|
|
* Creates animated eyes on the current screen and starts
|
|
* the animation. Call animated_eyes_demo_stop() to clean up.
|
|
*
|
|
* @return Handle to the animated eyes, or NULL on failure
|
|
*/
|
|
animated_eyes_handle_t animated_eyes_demo_start(void);
|
|
|
|
/**
|
|
* @brief Stop the animated eyes demo and clean up
|
|
*
|
|
* @param handle Handle returned by animated_eyes_demo_start()
|
|
*/
|
|
void animated_eyes_demo_stop(animated_eyes_handle_t handle);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ANIMATED_EYES_DEMO_H */
|