#pragma once
#include "esp_camera.h"



bool initCamera();
//---- Initialisation par série de broches
// initCamera2(32,-1,0,26,27,35,34,39,36,21,19,18,5,25,23,22); //(PWDN, RESET, XCLK, SIOD, SIOC, Y9, Y8, Y7, Y6, Y5, Y4, Y3, Y2, VSYNC, HREF, PCLK)
/*EDU US*/ 	#define MODEL_AI_THINKER_CAM 32,-1,0,26,27,35,34,39,36,21,19,18,5,25,23,22
			#define MODEL_M5STACK_WIDE_CAM -1,15,27,22,23,19,36,18,39,5,34,35,32,25,26,21
			#define MODEL_M5STACK_PSRAM_CAM -1,15,27,25,23,19,36,18,39,5,34,35,32,22,26,21
			#define MODEL_ESP_EYE_CAM -1,-1,4,18,23,36,37,38,39,35,14,13,34,5,27,25
			#define MODEL_WROVER_KIT_CAM -1,-1,21,26,27,35,34,39,36,19,18,5,4,25,23,22

/*EDU US*/ bool initCamera2(int _PWDN_GPIO_NUM,int _RESET_GPIO_NUM,int _XCLK_GPIO_NUM,int _SIOD_GPIO_NUM,int _SIOC_GPIO_NUM,int _Y9_GPIO_NUM,int _Y8_GPIO_NUM,int _Y7_GPIO_NUM,int _Y6_GPIO_NUM,int _Y5_GPIO_NUM,int _Y4_GPIO_NUM,int _Y3_GPIO_NUM,int _Y2_GPIO_NUM,int _VSYNC_GPIO_NUM,int _HREF_GPIO_NUM,int _PCLK_GPIO_NUM, bool _vflip=false, bool _hmirror=false, String _framesize="UXGA");