安装我的库 wifiudp 并将其包含在我的草图中后,它工作正常。WifiUDP.begin
在我进入草图的那一刻,我得到了这些错误。我转到错误所指的 cpp 文件,但我不确定我应该从那里做什么。有人知道吗?谢谢。
WiFi1\WiFiUdp.cpp.o: In function `WiFiUDP::write(unsigned char const*, unsigned int)':
C:\Users\AlbertR\Desktop\arduino-1.0.3\libraries\WiFi1/WiFiUdp.cpp:93: undefined reference to `ServerDrv::insertDataBuf(unsigned char, unsigned char const*, unsigned int)'
WiFi1\WiFiUdp.cpp.o: In function `WiFiUDP::endPacket()':
C:\Users\AlbertR\Desktop\arduino-1.0.3\libraries\WiFi1/WiFiUdp.cpp:83: undefined reference to `ServerDrv::sendUdpData(unsigned char)'
WiFi1\WiFiUdp.cpp.o: In function `WiFiUDP::beginPacket(IPAddress, unsigned int)':
C:\Users\AlbertR\Desktop\arduino-1.0.3\libraries\WiFi1/WiFiUdp.cpp:74: undefined reference to `ServerDrv::startClient(unsigned long, unsigned int, unsigned char, unsigned char)'
WiFi1\WiFiUdp.cpp.o: In function `WiFiUDP::begin(unsigned int)':
C:\Users\AlbertR\Desktop\arduino-1.0.3\libraries\WiFi1/WiFiUdp.cpp:25: undefined reference to `ServerDrv::startServer(unsigned int, unsigned char, unsigned char)'