mirror of
https://github.com/Freenove/Freenove_ESP32_WROVER_Board.git
synced 2025-07-29 08:07:50 +00:00
Update Sketches.
This commit is contained in:
parent
7cad01418e
commit
664503cd91
@ -12,7 +12,6 @@ void setup() {
|
||||
Serial.begin(115200);
|
||||
SerialBT.begin("ESP32test"); //Bluetooth device name
|
||||
Serial.println("\nThe device started, now you can pair it with bluetooth!");
|
||||
Serial.println("Hello!");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
@ -34,14 +34,14 @@ const char *password_Router = "********"; //input your wifi passwords
|
||||
camera_config_t config;
|
||||
|
||||
void startCameraServer();
|
||||
void config_init();
|
||||
void camera_init();
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.setDebugOutput(true);
|
||||
Serial.println();
|
||||
|
||||
config_init();
|
||||
camera_init();
|
||||
|
||||
// camera init
|
||||
esp_err_t err = esp_camera_init(&config);
|
||||
@ -76,7 +76,7 @@ void loop() {
|
||||
;
|
||||
}
|
||||
|
||||
void config_init() {
|
||||
void camera_init() {
|
||||
config.ledc_channel = LEDC_CHANNEL_0;
|
||||
config.ledc_timer = LEDC_TIMER_0;
|
||||
config.pin_d0 = Y2_GPIO_NUM;
|
||||
|
Loading…
x
Reference in New Issue
Block a user