添加ADC采集电压和RGB灯
This commit is contained in:
14
APP/vcc_adc.h
Normal file
14
APP/vcc_adc.h
Normal file
@ -0,0 +1,14 @@
|
||||
//
|
||||
// Created by hu123456 on 2024/3/8.
|
||||
//
|
||||
|
||||
#ifndef FOC_N_VCC_ADC_H
|
||||
#define FOC_N_VCC_ADC_H
|
||||
#include "mymain.h"
|
||||
|
||||
void adc_init(void);
|
||||
uint32_t adc_get_result(void);
|
||||
float get_VCC(void);
|
||||
|
||||
|
||||
#endif //FOC_N_VCC_ADC_H
|
Reference in New Issue
Block a user