/* ****************************************************************************** * * @file bat.c * @brief Voltage-based RC model gauge algorithm * * * @version 1.0 * @date 2023/02/20 17:35:40 * @author Alex Xu * * Copyright (c) 2013-2099,Tkplusemi Technology Co.,Ltd. * All Rights Reserved * * History: * Revision Date Author Desc * 1.0.0 2023/02/20 Alex build this file ****************************************************************************** */ #include "bat.h" #include "adc.h" //idata uint8_t bat_level = 0;