You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
526 B
33 lines
526 B
/**
|
|
* @file OV2640.hpp
|
|
* @author Petr Malaník (TheColonelYoung(at)gmail(dot)com)
|
|
* @brief
|
|
* @version 0.1
|
|
* @date 11.09.2022
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "stm32l4xx_hal.h"
|
|
#include "main.h"
|
|
|
|
#include <vector>
|
|
|
|
using namespace std;
|
|
typedef unsigned int uint;
|
|
|
|
class ButCube_imager
|
|
{
|
|
private:
|
|
vector<UART_HandleTypeDef> uart_output_interfaces;
|
|
|
|
public:
|
|
ButCube_imager() = default;
|
|
|
|
int Add_output(UART_HandleTypeDef uart_output);
|
|
|
|
int Transmit(vector<uint8_t> source);
|
|
|
|
void Camera_power(bool state);
|
|
};
|