| | |
| | | // gps_air780_power_change(0,0);//关闭gps,4G |
| | | PCA9555_Set_One_Value_Output(LED_POWER,0);//输出低电平关闭LED |
| | | PCA9555_Set_One_Value_Output(GPS_POWER,0);//关闭gps,4G |
| | | |
| | | // PCA9555_Set_One_Value_Output(TTS_ENABLE,0); |
| | | |
| | | PCA9555_Set_One_Value_Output(AIR780E_ENBALE,0);//关闭gps,4G |
| | | |
| | | sleep_timer_stop(); |
| | | sleep_timer_stop(); |
| | | |
| | | //adc_close(); |
| | | power_enter_power_down_mode(1); |
| | | // LOG_INFO(TRACE_MODULE_APP, "从休眠出来\r\n"); |
| | |
| | | // delay_ms(100); |
| | | // gaodu=GetPressAndHeight(); |
| | | PCA9555_init(); |
| | | board_debug_console_open_baud(TRACE_PORT_UART1,BAUD_115200); |
| | | board_debug_console_open_baud(TRACE_PORT_UART1,BAUD_921600); |
| | | // while(1); |
| | | // Reset reason |
| | | reset_cause_get(); |
| | |
| | | |
| | | Uart_Register(UART_ID_DBG_GPS, UART_ID1); |
| | | DBG_Init(); |
| | | |
| | | |
| | | SendComMap(0x50,0); |
| | | Internet_Init(); |
| | | TCPClient_Init(); |
| | | // if(g_com_map[RTCMMODE_INDEX] == RTCMMODE_NTRIP) |