Code: Select all
#include <iostream>
using namespace std;
#include <fstream>
#include <string>
#include <Arduino.h>
//------------------------------------------
void dosome()
{
ifstream fin("read.txt");
ofstream fcom("write.txt");
//Complete the rest of the code
}
Code: Select all
#define rr_h
#include "Arduino.h"
class rr
{
public:
rr();
void dosome();
};
Code: Select all
// other config
camera_fb_t * fb = NULL;
fb = esp_camera_fb_get();
to the function in .cpp to write the output of fb = esp_camera_fb_get();
in file and then do some processing on txt file, can do that and how ?