超级电容通信 VOFA

This commit is contained in:
chenfu
2022-12-05 15:59:47 +08:00
parent 3c8ffda61d
commit 84f0660d0f
6 changed files with 207 additions and 0 deletions

21
modules/vofa/vofa.h Normal file
View File

@@ -0,0 +1,21 @@
/*
* @Descripttion:
* @version:
* @Author: Chenfu
* @Date: 2022-12-05 12:39:18
* @LastEditTime: 2022-12-05 13:37:36
*/
#ifndef VOFA_H
#define VOFA_H
#include <stdint-gcc.h>
#include "bsp_usart.h"
#include "usart.h"
typedef union
{
float float_t;
uint8_t uint8_t[4];
} send_float;
void vofa_justfloat_output(float *data, uint8_t num , UART_HandleTypeDef *huart);
#endif // !1#define