// RIEN A MODIFIER // //codé par Léonie GALLOIS et Morgane FOUSSATS #ifndef ALIMENTATION_H #define ALIMENTATION_H #include "stm32f103xb.h" #include "stm32f1xx_ll_adc.h" #include "stm32f1xx_ll_bus.h" #include "stm32f1xx_ll_rcc.h" #include "stm32f1xx_ll_gpio.h" #include "math.h" /* ===================================================================================== Les fonctions qui gèrent les IO (ajout par rapport à l'activité 1) =======================================================================================*/ void alimentation_init(void); float get_battery_level(void); int is_level_enough(void); #endif