PM2.5检测实现,WiFi模块esp8266实现: #include"esp8266.h" #include"pm.h" charCache[40]; charResult[2]; chardata*datawifi="2021"; chardata*datawifiword="20212021"; chardata*dataTCP="183.230.40.40"; chardata*dataTCP_port="1811"; chardata*datakey="*251177#test#test*"; intstate; int