Files
Motor_v2/Robot_V2/device/ang_sensor.h
T

17 lines
280 B
C
Raw Normal View History

2025-10-31 01:17:52 +08:00
#ifndef _angsensor_H
#define _angsensor_H
2025-09-23 00:27:51 +08:00
#ifdef __cplusplus
extern "C" {
#endif
#include "gd32c10x_eval.h"
#include "stdio.h"
2025-09-23 00:27:51 +08:00
2025-10-30 20:20:14 +08:00
void KHT7823_init(void);
2025-09-23 00:27:51 +08:00
u16 spi_rw_half_word(u32 spi_periph, const u16 i_HalfWord);
2025-10-31 01:17:52 +08:00
float KHT7823_readAngle(void);
2025-09-23 00:27:51 +08:00
#ifdef __cplusplus
}
#endif
#endif