关了打印传感器数据,和将上报周期改为10min
This commit is contained in:
parent
8aa0449fbb
commit
4cd6fccfa8
|
@ -93,7 +93,7 @@ static rt_base_t interrupt_value;
|
|||
rt_uint8_t sys_hw_ver = 0x10;
|
||||
rt_uint8_t sys_sw_ver = 0x11;
|
||||
rt_uint8_t sys_nb_retry = 0x03; // 重试次数3次
|
||||
rt_uint16_t sys_nb_upload_cycle = 0x001; // 120分钟一次
|
||||
rt_uint16_t sys_nb_upload_cycle = 0x000A; // 120分钟一次
|
||||
rt_uint16_t sys_alarm_h_value = 0x0032; // 50
|
||||
rt_uint16_t sys_alarm_l_value = 0x09C4; // 2500
|
||||
rt_uint8_t sys_temp_alarm_threshold = 0x32;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @Author : stark1898y 1658608470@qq.com
|
||||
* @Date : 2024-06-18 15:48:01
|
||||
* @LastEditors: mbw && 1600520629@qq.com
|
||||
* @LastEditTime: 2024-12-17 11:36:52
|
||||
* @LastEditTime: 2024-12-17 15:52:30
|
||||
* @FilePath: \ble_bjq_ch303rct6_ml307\bsp\src\bsp_mq.c
|
||||
* @Description :
|
||||
*
|
||||
|
@ -48,7 +48,7 @@ uint16_t Get_Gas_VoltageInt1000x(void)
|
|||
uint16_t Get_Gas_VoltageAdcInt1000x(void)
|
||||
{
|
||||
rt_uint16_t voltage_adc = (Get_ADC_Average(kGasAdc) * 3.3 / 4096) * 1000;
|
||||
LOG_D("Get_Gas_VoltageAdcInt1000x = %04d", voltage_adc);
|
||||
// LOG_D("Get_Gas_VoltageAdcInt1000x = %04d", voltage_adc);
|
||||
return voltage_adc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue