camera.h 427 B

12345678910111213141516171819202122
  1. #ifndef INITIALIZE_CAMERA_H
  2. #define INITIALIZE_CAMERA_H
  3. #include <FS.h>
  4. #include <esp_camera.h>
  5. #include "camera_config.h"
  6. #include "camera_model.h"
  7. /** Initialize the camera. */
  8. void initialize_camera();
  9. /** Turn the flash off. */
  10. void toggle_flash_off();
  11. /** Turn the flash on. */
  12. void toggle_flash_on();
  13. /** If the flash state ever gets out of sync with the camera model, fix it. */
  14. void handle_flash_state();
  15. #endif