我不太懂这个,但是您开发用的是不是NON-OS?这个uint类型应该有的,您看看是否拼写错误,如果实在没有就直接用unsigned int 这样定义也行。 |
我改了下,但好像指针没能指向指定变量 void ICACHE_FLASH_ATTR ESP8266_WIFI_send_Cb(void * arg) { struct espconn * T_arg = arg; // 缓存网络连接结构体指针 uint8 *adc ; uint8 ad = 2; ad = system_adc_read(); adc =&ad; espconn_send(T_arg,adc,os_strlen(adc)); os_printf(adc); os_printf("3"); delay_ms(1100); } |