NEW_Dart/NewBoomerang_test/modules/openmv/openmv.h

28 lines
420 B
C

//
// Created by 20420 on 2024/12/4.
//
#ifndef OPENMV_H
#define OPENMV_H
#include <stdint.h>
#include "main.h"
#include "usart.h"
typedef struct
{
int16_t cx; //水平坐标
int16_t cy; //垂直坐标
int16_t cw; //
int16_t ch; //
} Openmv_Information;
Openmv_Information *OpenmvInit(UART_HandleTypeDef *openmv_usart_handle);//rc_usart_handle
uint8_t RemoteControlIsOnline();
#endif //OPENMV_H