机智云的源代码,里面有代码的解析
int main(void)
{
SystemInit();
UARTx_Init();
Printf_SystemRccClocks();
RTC_Init();
Hal_Init();
McuStatusInit();
while(1)
{
MessageHandle();
KEY_Handle();
IR_Handle();
DHT11_Read_Data(&Device_ReadStruct.Temperature, &Device_ReadStruct.Humidity);
ReportDevStatusHandle();
}
}
2021-05-18 09:59:17
6.23MB
机智云源码
1