projet_voilier/Services/Voltage.h
2020-11-13 08:49:00 +01:00

13 lines
248 B
C

#ifndef VOLTAGE_H
#define VOLTAGE_H
#include "ADC.h"
#include "GPIO.h"
void Voltage_conf(ADC_TypeDef * adc, GPIO_TypeDef * gpio, int pin);
void Voltage_start(ADC_TypeDef * adc);
float Voltage_getVoltage(ADC_TypeDef * adc, int channel);
#endif