robotzero1
                                            robotzero1
                                        
                                    I'm getting a Guru crash with the code below at line: **return ((fb->len) - currentByte);** ``` #include #include #include "esp_camera.h" #include String chat_id; #define BOTtoken "100etc" WiFiClientSecure client; UniversalTelegramBot bot(BOTtoken,...
OK.. this seems to be working. Dunno why I had to make new variables. I'll make a proper tutorial soon for this. EDIT: Tutorial here: https://robotzero.one/telegram-bot-esp32cam/ ``` uint8_t* fb_buffer; size_t...
I've not finished the tutorial yet. I need to work out how to manage the memory a bit better because after while there's not enough continuous space to store the...
Are you setting up the camera somewhere? Something like... ``` #define PWDN_GPIO_NUM 32 #define RESET_GPIO_NUM -1 #define XCLK_GPIO_NUM 0 #define SIOD_GPIO_NUM 26 #define SIOC_GPIO_NUM 27 #define Y9_GPIO_NUM 35 #define Y8_GPIO_NUM...
I have a bunch of tutorials on this on my blog (click link in profile). I think Brian (library author) has at least one video on it as well.
Check out the CameraWebServer example in the Arduino IDE. You can use that as a basis for your sketch. Remove void startCameraServer(); and startCameraServer(); lines. You don't need app_httpd file...
Ah.. good point, that's wrong. It should be Void because nothing is returned by the function. It worked for me but maybe it's another C memory thing when you declare...
Cool! What are the pins connected to?
The new release of this library has an example for this - https://github.com/witnessmenow/Universal-Arduino-Telegram-Bot/tree/master/examples/ESP32/SendPhoto/ESP32-Cam
Possibly a timeout at Telegram's end waiting for the file. If you set logging to verbose in the Arduino IDE do you see anything? You could try my script -...