|
如果没修改过代码,可能是初始化串口到UART1了,你看一下user_main.c:
void ICACHE_FLASH_ATTR user_init(void)
{
uint32 system_free_size = 0;
wifi_station_set_auto_connect(1);
wifi_set_sleep_type(NONE_SLEEP_T);//set none sleep mode
espconn_tcp_set_max_con(10);
uart_init_3(9600,115200);
UART_SetPrintPort(1); // 改为UART_SetPrintPort(0); os_printf( "---------------SDK version:%s--------------\n", system_get_sdk_version());
os_printf( "system_get_free_heap_size=%d\n",system_get_free_heap_size()); |
|