/* The voltage scaling allows optimizing the power consumption when the device is
clocked below the maximum system frequency, to update the voltage scaling value
regarding system frequency refer to product datasheet. */
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
@hobbye501 :下面是源程序,麻烦您看下
@hobbye501 :你好,因为是个浸水检测报警项目,规定是用3.6V,3.5AH的电池供电,又在电脑上运行了一晚上,又出现那种不运行的情况了,白天时都是正常的也没有管它,一到晚上就出问题了
@abs0213 :你试试用标准直流源
@hobbye501 :我用的是3.6V的电池供电
是不是供电低了?